Link to home
Start Free TrialLog in
Avatar of jimrichmond
jimrichmond

asked on

Using directives in Resource File

I am using the directive   "#if defined(MACHINING_CTR)" in the resource (.RC) file.  If I put a "#define MACHINING_CTR" command in the .RC file then the #if directive works correctly.  However if instead of using the "#define" statement, I define the MACHINING_CTR as a Preprocessor Definition then the "#if" directive does not work.  Does the resource file not recognize Preprocessor Definitions?
ASKER CERTIFIED SOLUTION
Avatar of itsmeandnobodyelse
itsmeandnobodyelse
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jimrichmond
jimrichmond

ASKER

Thank you for the help