Preprocessor directive from running within Developer Studio?
Posted on 2001-06-20
I'm creating a little Win32 console app from within Developer Studio. Whilst I am developing in debug, I am putting
statements in various places, to stop the console window disappearing when the program terminates.
I would like to know if there is a preprocessor directive similar to _DEBUG that stipulates that the program is being executed from Developer Studio, rather than the command line such as _DEVELOPERSTUDIO. This would eliminate the confusion of having to hit return if the debug version of the program was run on the command line.