Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine if platform is win32 or x64 2

Status
Not open for further replies.

jamsek19

Programmer
Feb 4, 2002
35
0
0
SI
Hello.
I have specific problem determine on which platform my program is running: win32 or x64.
I tried using GetSystemInfo but its output on x64 platform is wrong - shows that is Intel Win32 platform. Also, I tried with GetNativeSystemInfo but this function just return right value for WinXP or WinVista. On Win 2000 for example, this function is not supported.

Can anyone tell me how to programmticly determine processor platform?

Thanks in advance.
Andreo
 
Thanks MKuiper. It works.
Best Regards
Andreo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top