You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also encountered this error, and then I found that GetThreadLocale and SetThreadLocale are in WinNls.h. The following is like this:
So I changed the system version number defined in trcapi to 0x500, but I’m not sure what the negative consequences might be.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I....\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcapi.cpp
trcapi.cpp
I:\ZZZ\Detours-4.0.1\samples\traceapi_win32.cpp(4323): error C2065: 'GetThreadLocale': undeclared identifier
I:\ZZZ\Detours-4.0.1\samples\traceapi_win32.cpp(7050): error C2065: 'SetThreadLocale': undeclared identifier
NMAKE : fatal error U1077: 'cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I....\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcapi.cpp ' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\VS\IDE\VC\Tools\MSVC\14.36.32532\bin\HostX86\x86\nmake.exe /NOLOGO /L ' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\VS\IDE\VC\Tools\MSVC\14.36.32532\bin\HostX86\x86\nmake.exe /NOLOGO / ' : return code '0x2'
Stop.
The text was updated successfully, but these errors were encountered: