Windows 8.1 version display

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
Feb 12, 2009
41
0
#1
I'm using Windows 8.1 but TCC says
TCC 15.01.52 Windows 8 [Version 6.2.9200]

and cmd.exe says
Microsoft Windows [Version 6.3.9600]
 
#4
I have the same behaviour, only everything is 64-bits.
 

rconn

Administrator
Staff member
May 14, 2008
10,100
85
#5
I'm using Windows 8.1 but TCC says
TCC 15.01.52 Windows 8 [Version 6.2.9200]

and cmd.exe says
Microsoft Windows [Version 6.3.9600]
Windows bug / unfeature. TCC is querying the Windows GetVersionEx() API, which is returning the wrong info. Microsoft said the GetVersionEx API was deprecated for versions of Windows after 8.1; apparently they decided to accelerate the process and make it useless in 8.1 as well.

CMD is probably using the new version helper APIs, which are only available in 8.1 and later. (Must be nice to be able to write something that only has to run in one version of Windows ...)