NMAKE failing at the end.
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.
Same here
same here
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.
I also encountered this error, and then I found that GetThreadLocale and SetThreadLocale are in WinNls.h. The following is like this:
idk but it worked ahahahah. did you find some errors when u used detours after you made this change?