참고 :IsWow64Process functionSYSTEM_INFO structureGetSystemInfo functionGetNativeSystemInfo function // C++ #include #include #include #include using namespace std; int _tmain(int argc, TCHAR *argv[]){ BOOL isWow64 = false; if (IsWow64Process(GetCurrentProcess(), &isWow64) != 0) cout
// C++ #include #include #include // for CString using namespace std; int _tmain(int argc, TCHAR *argv[]){ CString myArchitecture; if (myArchitecture.GetEnvironmentVariable(_T("PROCESSOR_ARCHITECTURE")) != 0) cout
// C++ #include #include #include #include using namespace std; int _tmain(int argc, TCHAR *argv[]){ const DWORD buffSize = 10; LPTSTR buffer1 = new TCHAR[buffSize]; LPTSTR buffer2 = new TCHAR[buffSize]; if (GetEnvironmentVariable(TEXT("PROCESSOR_ARCHITECTURE"), buffer1, buffSize) != 0) cout