954,504 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Windows version detection

Hello there!

Is it possible to detect the Windows version (or at least detect if it's XP or Vista) from a C++ code?
I'm working on an ActionScript/C++ solution and, right now, am detecting Windows version using AS, but it would be a lot better if I could do it from inside the C code.

Thanks a lot for any hints.

marcosjp
Light Poster
43 posts since Mar 2008
Reputation Points: 10
Solved Threads: 0
 
Is it possible to detect the Windows version (or at least detect if it's XP or Vista) from a C++ code?


Yes it is. See Getting the System Version

mitrmkar
Posting Virtuoso
1,809 posts since Nov 2007
Reputation Points: 1,105
Solved Threads: 395
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You