Hi Ande,
You need the D after the /. Options|Compiler Defines should be
/DMY_DEF=1 /DWIN32_LEAN_AND_MEAN
For your purposes, the =1 is optional.
Regards,
Reed.
BA wrote in message <382720B9.94FF2463@san.rr.com>...
>I'm having trouble doing this successfully. Can anyone tell me what I'm
>doing wrong?
>I want stmt-a to be run but not stmt-b, so I tried to define MY_DEF. In
>the project window, under menu option Options|Compiler Defines, I now
>have:
>
>/MY_DEF=1 /DWIN32_LEAN_AND_MEAN
>TIA for any help.
>
>
>B
>--
>ande at san dot rr dot com