1.从微软官网下载detours,然后编译总是出错fatal error C1189: #error: Feature not supported in this release。
3.解决办法(懒,不翻译了)
Since the Detours Express only supports 32-bit processes, some of the files, such as disolx64.cpp and disolarm.cpp, cannot be compiled.
To work around the problem, try commenting the ‘#include "disasm.cpp"’ directives in the “disol*.cpp” files that generate the fatal error messages (i.e. excepting “disolx86.cpp”). Then compile using “nmake” command.
See Readme files about compilation and running samples.
Check the License and create backup copies before making the changes.
本文介绍了在使用Detours库时遇到的编译错误fatal error C1189及解决方案。由于Detours Express仅支持32位进程,部分文件如disolx64.cpp无法编译。解决方法为注释掉生成致命错误的文件中包含disasm.cpp的部分,并使用nmake命令进行编译。
1268

被折叠的 条评论
为什么被折叠?



