1、\Detours Express 3.0\src\detours.cpp
#define ARRAYSIZE(A) (sizeof(A)/sizeof((A)[0]))//在第31行添加
//第1599行__debugbreak()改为DebugBreak()
if (pbTrampoline > pbPool)
{
DebugBreak();
}
2、\Detours Express 3.0\src\disasm.cpp第356行
pbDst[1] = 0x80 | (pbSrc[0] & 0xf);
改为:
pbDst[1] = pbSrc[0];
pbDst[1] &= 0xf;
pbDst[1] |= 0x80;
3、如果出现
.\creatwth.cpp(1056) : error C2065: 'strcpy_s' : undeclared identifier
.\creatwth.cpp(1065) : error C2065: 'strcat_s' : undeclared identifier
.\creatwth.cpp(1100) : error C2065: 'sprintf_s' : undeclared identifier
.\creatwth.cpp(1163) : error C2065: 'wcscat_s' : undeclared identifier
.\creatwth.cpp(1198) : error C2065: 'swprintf_s' : undeclared identifier
NMAKE : fatal error U1077: 'cl' : return code '0x2'
则修改\Detours Express 3.0\src\creatwth.cpp
在文件头部增加
#ifdef _UNICODE
#ifndef UNICODE
#define UNICODE
#endif
在 文件结尾增加
#endif//_UNICODE
地址: 江苏省常州市
QQ: 79232781
联系人: DIS工作室
电话: 13585315012
邮箱: disstudio@yeah.net
Copyright ©2008-2026 DIS工作室 All Rights Reserved.地址: 江苏省常州市
联系人: DIS工作室  电话: 13585315012  QQ: 79232781  邮箱: disstudio@yeah.net