如何构建Microsoft Detours Express Version 3.0? [英] How to build Microsoft Detours Express Version 3.0?

查看:122
本文介绍了如何构建Microsoft Detours Express Version 3.0?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建绕行库,但遇到了一些未能成功解决的问题. 我在Windows 7和10 64bit,Visual Studio 2015上运行.

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.

我尝试了所有可能的命令提示符(WOW64/VS),运行了vcvarsall.bat/vcvars32.bat.

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.

推荐答案

由于Detours Express仅支持32位进程,因此某些文件(例如disolx64.cppdisolarm.cpp)无法编译.

Since the Detours Express only supports 32-bit processes, some of the files, such as disolx64.cpp and disolarm.cpp, cannot be compiled.

要变通解决此问题,请尝试在生成致命错误消息的disol*.cpp文件中注释#include "disasm.cpp"指令(即,disolx86.cpp除外).然后使用nmake命令进行编译.

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.

或者更好地找到并下载DetourExpress.msi.

Or better find and download DetourExpress.msi.

这篇关于如何构建Microsoft Detours Express Version 3.0?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆