Question for C/C++ programmers:- In my resource file test.rc,I need to do something like:
#if RC_EXE_IS_FROM_DOT_NET
#include %26lt;winver.h%26gt;
#else
#include %26lt;ver.h%26gt;
#endif
If it was a cpp file it would have been simple
#if _MSC_VER %26gt;= 13010
#include %26lt;winver.h%26gt;
#else
#include %26lt;ver.h%26gt;
#endif
RC.EXE probably doesn't have an equivalent for _MSC_VER
Any suggestions?
How does my .rc file conditionally include %26lt;ver.h%26gt; or %26lt;winver.h%26gt; ?
what are you trying to accomplish.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment