How to build Microsoft Detours Express Version 3.0?

心已入冬 提交于 2019-12-12 04:32:21

问题


I'm trying to build detours library, and I encountered some problems that I did not succeeded to solve. I ran on Windows 7 and 10 64bit, Visual Studio 2015.

I tried in all possible command prompts( WOW64/ VS), ran vcvarsall.bat/vcvars32.bat.

Please find attached the errors that I've got.

Is there any other way to do it? or what could be the problem? Thanks.


回答1:


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.

Or better find and download DetourExpress.msi.



来源:https://stackoverflow.com/questions/40472960/how-to-build-microsoft-detours-express-version-3-0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!