detect the windows 64 bit

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Hello,
is there a way that I can check the registry value to determine if my
windows is 32 or 64 bit?

thanks.
 
BlueMonster said:
Peter~

Go to My Computer or Computer in Vista, it should be on your desktop.
Right clock on the Icon, hit properties, and it will give you the
Basics, for Example mine say's 64 bit Operating System.

Pretty Straight forward, for much more info go to start menu/run, type
dxdiag (hit enter) there you'll find all you need to know. Trust me.

*Blue* ;)

Thanks. I need to write a program to read from the registry to determine
if it is 64 or not. I want to know which registry I should read.
Do you have any ideas? thanks
 
BlueMonster said:
Peter~

Go to My Computer or Computer in Vista, it should be on your desktop.
Right clock on the Icon, hit properties, and it will give you the
Basics, for Example mine say's 64 bit Operating System.

Pretty Straight forward, for much more info go to start menu/run, type
dxdiag (hit enter) there you'll find all you need to know. Trust me.

*Blue* ;)

Thanks. I need to write a program to read from the registry to determine
if it is 64 or not. I want to know which registry I should read.
Do you have any ideas? thanks
 
Peter said:
Thanks. I need to write a program to read from the registry to determine
if it is 64 or not. I want to know which registry I should read.
Do you have any ideas? thanks


Um, why is the requirement to read it from the registry?

Test the size of IntPtr to see which version. IntPtr.Size == 8 means 64
bit, 4 means 32 bit.
 
Peter said:
Thanks. I need to write a program to read from the registry to determine
if it is 64 or not. I want to know which registry I should read.
Do you have any ideas? thanks


Um, why is the requirement to read it from the registry?

Test the size of IntPtr to see which version. IntPtr.Size == 8 means 64
bit, 4 means 32 bit.
 
Back
Top