Howdy all.

Howdy all.
Is it possible to get the IDE to build .res files from a RC file, without resorting to a pre-build event?

There is this syntax:
  {$RESOURCE filename.res filename.rc}

But that is only to show filename.rc in the project manager (which doesn't seem to work for me but I don't really care :-) ) - http://docwiki.embarcadero.com/RADStudio/XE7/en/Resource_file_(Delphi)

Currently I am using a pre-build event to do the compiling for me:
brcc32 ..\relative\path\to\filename.rc

Comments

  1. The point is to have this line in the dpr and not in any of the units.

    ReplyDelete
  2. Uwe Raabe Ah, that might be the reason it wasn't working - I was trying in a dpk.

    ReplyDelete

Post a Comment