Windows version detection

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Mar 2008
Posts: 42
Reputation: marcosjp is an unknown quantity at this point 
Solved Threads: 0
marcosjp marcosjp is offline Offline
Light Poster

Windows version detection

 
0
  #1
Mar 3rd, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 981
Reputation: mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice mitrmkar is just really nice 
Solved Threads: 210
mitrmkar mitrmkar is offline Offline
Posting Shark

Re: Windows version detection

 
0
  #2
Mar 3rd, 2009
Originally Posted by marcosjp View Post
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum


Views: 446 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC