On 06/06/2011 10:50 AM, Juan Lang wrote:
In NT4 mode: (osver.dwMajorVersion>= 5) is FALSE. (osver.dwPlatformId != VER_PLATFORM_WIN32_WINDOWS) is TRUE. (osver.dwMajorVersion>= 5 || osver.dwPlatformId != VER_PLATFORM_WIN32_WINDOWS) is TRUE. Right?
Ah, right. Wrong with this comment, sorry about that. But my original comment remains: why not just check dwPlatformId? --Juan
Ha! Quite right, thanks!