How to find out whether my system is 16, 32 or 64 bit ?
-
Hi All, How to find out whether my system is 16, 32 or 64 bit ? both by programmatically and manullay ????
I dont know whether there is any window APIs for this. But you can get this information using WMI. check the Win32_Processor class.
nave [OpenedFileFinder]
-
Hi All, How to find out whether my system is 16, 32 or 64 bit ? both by programmatically and manullay ????
Call
IsWow64Process()
to tell if the OS is 32-bit or 64-bit.--Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ I work for Keyser Söze
-
Hi All, How to find out whether my system is 16, 32 or 64 bit ? both by programmatically and manullay ????
As a hack you could use sizeof(int*) (any type will do, not just int). Or, sizeof(int) for 16/32.
...cmk The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying. - John Carmack