Question number 2:

Question number 2:
{$R myresource.res IOS}
What's that second parameter in a resource inclusion statement for?

Comments

  1. Second statement is Delphi XE7 coming :)

    ReplyDelete
  2. I think it works on XE6... but not 100% sure.

    ReplyDelete
  3. Looks useful as Delphi gains more cross-platform ability.

    ReplyDelete
  4. Uwe Raabe Yes, that's a different usage of $R. I think in XE6 is already supports indicating a platform, for filtering purposes (the resource gets included only in that platform). Now XE7 will really take advantage of it in the IDE, though!

    ReplyDelete
  5. In case you were wondering, now that the product has been announced, this is one of the technical foundations of the multi-device designer.

    ReplyDelete
  6. Marco Cantù
     Essentially the mulit-device-designer is a cut down way of Viusal Form Inheritance. Which in itself is a very clever idea. But I am struggling with some of the decisions made in its implementation (e.g. all components are back propagated to the master view). TLDR, maybe I will make it to the Delphi-Tage, then I would love to discuss it with you in more detail.

    ReplyDelete
  7. Sure we can discuss it. It uses the same differential streaming, but the architecture is different. I mean, if you want Virtual Form Inheritance you can use it. MDD is supposed to be easier to use and more direct... but it has limitations in the fact all components must be in all views.

    ReplyDelete

Post a Comment