Click here to Skip to main content
15,867,308 members
Articles / Programming Languages / C#

32-Bit or 64-bit OS ??

21 Oct 2010CPOL 1.5K   1
In C++ you can use the following function:typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS)(HANDLE, PBOOL);BOOL Is64BitWindows(){#ifdef _WIN64 // The application is compiled for 64 bit, then the OS is 64 bit too! return TRUE;#else BOOL bIsWow64 = FALSE; // IsWow64Process...
Only logged in members can view this content

Please go to the C# Table of Contents to view the list of available articles in this section.