I\'m writing a C++ code to determine what OS it is running on. I use GetVersionEx() API to do that, and this code as a tutorial, but it doesn\'t seems to handle
GetVersionEx()
Windows 8 is 6.2. Windows Server 2012 is also 6.2. See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724834(v=vs.85).aspx