#if in .rc file



Can preprocessor directives be used in .rc files?

It's appearing to me they cannot. I am trying to do a conditional include
of resources in my app.rc file and it looks like it's including both parts
of the conditional.

#if defined (_DEFX)
#include "blah, blah"
#else
#include "yada, yada"
#endif


.



Relevant Pages

  • figured it out
    ... include of resources in my app.rc file and it looks like it's including ... #include "blah, blah" ... #include "yada, yada" ... Resource compiler has it's own set of preprocessor definitions in the ...
    (microsoft.public.vc.mfc)
  • Finally..... proof of Steves big lie.
    ... >> Prove you were a Marine and I'll vanish those doubts. ... >> yada, yada, yada. ... > I know who Col Vinson was and I know where Ft Gordon is. ... Blah, blah, blah. ...
    (rec.radio.amateur.policy)
  • Re: PUMPS! PUMPS! PUMPS!
    ... Yada, yada, yada. ... > blah, blah. ... Babble, babble, babble. ... Krusty understands fantasy is all you have to hang onto. ...
    (alt.politics)
  • Re: registry errors after Office 2003 installation
    ... Blah, blah, blah blah!!! ... Yada, Yada, Yada, Yada!. ... Please repost, and insure that the pathnames are exact, e.g., ... refer to missing Office 2003 "Default icons" of of one sort or another. ...
    (microsoft.public.office.setup)
  • Re: Brits get wise to yanks
    ... papers and TV news keep all this from us. ... They come under the categories of "Blah, blah, ... blah" and "Yada, yada, yada". ... suspicion, when an investigation starts, interim report, final report, ...
    (misc.survivalism)

Loading