32bit or 64bit
Windows API
2
Posts
2
Posters
0
Views
1
Watching
-
Hi everyone, How can I understand vista is 32bit or 64bit that installed on the computer?
You can do this easily by clicking on the "START" button, then right click on "Computer" and select "Properties" and look at the System Type. Or in C++;
bool Is64BitOS() { SYSTEM_INFO sysInfo; GetSystemInfo(&sysInfo); if((sysInfo.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64) // x64 (AMD or Intel) || (sysInfo.wProcessorArchitecture == PROCESSOR_ARCHITECTURE_AMD64)) // Intel Itanium Processor return true; return false; }
regards,
Jonathan Wilkes Darka[Xanya.net]