Conditional compilation by Windows version
I want to conditionally compile sections of code if the Windows version is not Windows 95.
Am I correct in assuming that I can't use ::GetVersionEx?
Am I correct that #if (WINVER > 0x400) will work but it will also exclude for NT 4?
How do you suggest I do this?
Re: Conditional compilation by Windows version
Quote:
Originally posted by Bob H
I want to conditionally compile sections of code if the Windows version is not Windows 95.
Just think again about what you're asking here... Got a little confused about compile time vs. run time? ;)