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.