Compile time logging

Started by
4 comments, last by krakrazor 20 years, 2 months ago
How can i write something to the VC++ 7.1 "Output window?
Advertisement
see the Win32 API function OutputDebugString
Actaully, i want it done something like this

#if PASMVERSION != 0x0001
#pragma comment(linker, blah blah blah)
#endif

not when i''m actually running the program, when i''m compiling it... i''m gonna use it for checking dll/header file versions
#pragma message(....)
I think in VC++.NET it is #pragma warning.
And the rockets' red glare, the bombs bursting in air,gave proof through the fight that our flag was still there.Oh say, does that star-spangled banner yet waveover the land of the free and the home of the brave?
And #error for something to stop the program from finishing compiling

This topic is closed to new replies.

Advertisement