Re: How to check current Windows OS installed using C or C++

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Sun, 7 Jun 2009 11:37:15 -0700 (PDT), Pallav singh
<singh.pallav@xxxxxxxxx> wrote:

Hi All,

How to check if the PC/Laptop has Windows Vista or XP Operating
System¨ using C++ programming and

- if XP, then how to check if it has SP 3 installed using C++.

Thanking all of in advance

See GetVersionEx and the related OSVERSIONINFOEX documentation.

--
Doug Harrison
Visual C++ MVP
.



Relevant Pages

  • How to check current Windows OS installed using C or C++
    ... How to check if the PC/Laptop has Windows Vista or XP Operating ...
    (microsoft.public.vc.language)
  • Re: Very simple question(Real Analysis)
    ... Apache Licenses MODE.CODE from MEAMI.ORG OPERATING PLATFORM ... and other C compilers ... designated [label (programming language)] within the function. ... standard input and output functions such as ...
    (sci.math)
  • Curious (Student)
    ... and I have an advance interest in operating ... system design and programming, and the ability to understand highly ... The other programming task I can get done given a set of standards, ... Furthermore I possess an Associate ...
    (freebsd-newbies)
  • Re: Fun with C
    ... which is a great tool for teaching programming. ... Only then they, typists, learn how to use shorthands. ... a Boolean context 0 means false but in the context of operating ...
    (comp.lang.ada)
  • Word 2003 wont open first time but opens 2nd time in safe mode
    ... I am using Word 2003 under Office 2003 with Windows Vista as operating ... We are searching for solution" but doesn't find one. ... Opened word again and it would open as long as I said Yes to safe mode. ...
    (microsoft.public.word.application.errors)