CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Posts
    45

    How can determine OS version is 32bit or 64bit?

    My program only can be run windows 2000 or windows xp 32bit, but how can I know my OS is 32bit?

  2. #2
    Join Date
    May 2005
    Posts
    4,954

    Re: How can determine OS version is 32bit or 64bit?

    GetVersionEx(..)
    is this what you want?

    Cheers
    If a post helped you dont forget to "Rate This Post"

    My Article: Capturing Windows Regardless of Their Z-Order

    Cheers

  3. #3
    Join Date
    Apr 2005
    Location
    Norway
    Posts
    3,934

    Re: How can determine OS version is 32bit or 64bit?

    To determine if your 32bit app is running on a 64bit machine, see
    http://msdn.microsoft.com/library/de...w64process.asp

    - petter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured