diff --git a/ic_pfor.h b/ic_pfor.h index 35d7057..7ef3adc 100644 --- a/ic_pfor.h +++ b/ic_pfor.h @@ -243,7 +243,7 @@ typedef BOOL (WINAPI *LPFN_GSI)(LPSYSTEM_INFO); typedef BOOL (WINAPI *LPFN_ISWOW64PROCESS) (HANDLE, PBOOL); static bool isWow64() { - LPFN_ISWOW64PROCESS fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(GetModuleHandle("kernel32"), "IsWow64Process"); + LPFN_ISWOW64PROCESS fnIsWow64Process = (LPFN_ISWOW64PROCESS)GetProcAddress(GetModuleHandle(TEXT("kernel32")), "IsWow64Process"); BOOL wow64 = FALSE;