>>>Do I understand that to test the application with #IFDEF in IDE I have to comment the statement #DEFINE MyConstant to have the code in #ELSE to be executed?
>>
>>The preprocessor directives control code compilation not execution.
>
>I know. So I am back to square 1. I do want to use some compilation control but need to test the program in IDE.
What prevents you from doing that?
--sb--