title: GetVersionEx under Windows 8
body: <p>I'm writing a C++ code to determine what OS it is running on. I use <code>GetVersionEx()</code> API to do that, and <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms724429%28v=vs.85%29.aspx">this code</a> as a tutorial, but it doesn't seems to handle Windows 8. Does anyone know how to fix it to run under Windows 8?</p>