Click to See Complete Forum and Search --> : How can determine OS version is 32bit or 64bit?


ShelleyWang
October 11th, 2005, 05:49 AM
My program only can be run windows 2000 or windows xp 32bit, but how can I know my OS is 32bit?

golanshahar
October 11th, 2005, 06:59 AM
GetVersionEx(..) (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getversionex.asp)
is this what you want? :confused:

Cheers

wildfrog
October 11th, 2005, 07:05 AM
To determine if your 32bit app is running on a 64bit machine, see
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/iswow64process.asp

- petter