>>>>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?
I must be confusing you and myself <g>. When you said "code compilation not execution", I thought you meant that I can't have the #IFDEF branch code when running it in IDE.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham