软件名称 | 版本 | 安装路径 | 下载地址 |
mysql | 5.6 | C:\Program Files\MySQL\MySQL Server 5.6\bin | |
visual studio | 2013 | D:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin | |
Detours | 3.0 Build_343 | D:\Detours |
说明:命令行提示符请使用管理权限,否则会有一些意想不到的结果,最显著问题就是权限不够,但不会提示权限不足,而是无法正常执行某些操作。
1. 测试mysql安装成功后,环境变量也设置成功结果如下图:
2. 进入vs2013安装目录的bin目录,执行vcvars32.bat(使用管理员权限执行,防止无法建立相关环境变量)
3. 重新进入detours所在目录,使用nmake编译detours,直接运行nmake命令,如果出现下图,则使用nmake /f makefile编译即可,随后会生成相关文件在后图的目录中。
detours的编译输出如下:
Microsoft (R) 程序维护实用工具 12.00.21005.1 版
版权所有 (C) Microsoft Corporation。 保留所有权利。
cd "d:\Detours"
cd "d:\Detours\src"
Created ..\include
Created ..\lib.X86
Created ..\bin.X86
cl /W4 /WX /Zi /MT /Gy /Gm- /Zl /Od /DWIN32_LEAN_AND_MEAN /D_WIN32_WINNT=0x501 /Fd..\lib.X86\detours.pdb /Foobj.X86\ /c detours.cpp modules.cpp disasm.cpp image.cpp creatwth.cpp disolx86.cpp disolx64.cpp disolia64.cpp disolarm.cpp disolarm64.cpp
用于 x86 的 Microsoft (R) C/C++ 优化编译器 18.00.21005.1 版版权所有(C) Microsoft Corporation。 保留所有权利。
detours.cpp
modules.cpp
disasm.cpp
image.cpp
creatwth.cpp
disolx86.cpp
disolx64.cpp
disolia64.cpp
disolarm.cpp
disolarm64.cpp
正在生成代码...
link /lib /out:..\lib.X86\detours.lib obj.X86\detours.obj obj.X86\modules.obj obj.X86\disasm.obj obj.X86\image.obj obj.X86\creatwth.obj obj.X86\disolx86.obj obj.X86\disolx64.obj obj.X86\disolia64.obj obj.X86\disolarm.obj obj.X86\disolarm64.obj
Microsoft (R) Library Manager Version 12.00.21005.1
Copyright (C) Microsoft Corporation. All rights reserved.
copy detours.h ..\include\detours.h
已复制 1 个文件。
copy detver.h ..\include\detver.h
已复制 1 个文件。
cd "d:\Detours\samples"
cd "d:\Detours\samples\syelog"
Created obj.X86
copy syelog.h ..\..\include\syelog.h
已复制 1 个文件。
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c syelog.cpp
syelog.cpp
link /lib /nologo /out:..\..\lib.X86\syelog.lib obj.X86\syelog.obj
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c syelogd.cpp
syelogd.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\syelogd.exe /Fd..\..\bin.X86\syelogd.pdb obj.X86\syelogd.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ws2_32.lib mswsock.lib advapi32.lib
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c sltest.cpp
sltest.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\sltest.exe /Fd..\..\bin.X86\sltest.pdb obj.X86\sltest.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c sltestp.cpp
sltestp.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\sltestp.exe /Fd..\..\bin.X86\sltestp.pdb obj.X86\sltestp.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
cd "d:\Detours\samples\simple"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\simple.res /i..\..\include simple.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c simple.cpp
simple.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\simple32.dll /Fd..\..\bin.X86\simple32.pdb obj.X86\simple.obj obj.X86\simple.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME /export:TimedSleepEx ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\simple32.lib 和对象 ..\..\bin.X86\simple32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c sleep5.cpp
sleep5.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\sleep5.exe /Fd..\..\bin.X86\sleep5.pdb obj.X86\sleep5.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console
cd "d:\Detours\samples\slept"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\slept.res /i..\..\include slept.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c slept.cpp
slept.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fe..\..\bin.X86\slept32.dll /Fd..\..\bin.X86\slept32.pdb obj.X86\slept.obj obj.X86\slept.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME /export:TimedSleepEx /export:UntimedSleepEx /export:GetSleptTicks /export:TestTicks /export:TestTicksEx ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\slept32.lib 和对象 ..\..\bin.X86\slept32.exp
rc /DDETOURS_BITS=32 /foobj.X86\dslept.res /i..\..\include dslept.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c dslept.cpp
dslept.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fe..\..\bin.X86\dslept32.dll /Fd..\..\bin.X86\dslept32.pdb obj.X86\dslept.obj obj.X86\dslept.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME /export:TimedSleepEx /export:UntimedSleepEx /export:GetSleptTicks ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\dslept32.lib 和对象 ..\..\bin.X86\dslept32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c sleepold.cpp
sleepold.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fe..\..\bin.X86\sleepold.exe /Fd..\..\bin.X86\sleepold.pdb obj.X86\sleepold.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console /fixed:no
cl /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c sleepnew.cpp
sleepnew.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fe..\..\bin.X86\sleepnew.exe /Fd..\..\bin.X86\sleepnew.pdb obj.X86\sleepnew.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console /fixed:no ..\..\bin.X86\slept32.lib
cl /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c sleepbed.cpp
sleepbed.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /O2 /I..\..\include /Fe..\..\bin.X86\sleepbed.exe /Fd..\..\bin.X86\sleepbed.pdb obj.X86\sleepbed.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console /fixed:no
cd "d:\Detours\samples\setdll"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c setdll.cpp
setdll.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\setdll.exe /Fd..\..\bin.X86\setdll.pdb obj.X86\setdll.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console
cd "d:\Detours\samples\withdll"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c withdll.cpp
withdll.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\withdll.exe /Fd..\..\bin.X86\withdll.pdb obj.X86\withdll.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console
cd "d:\Detours\samples\cping"
Created obj.X86
midl /nologo /Oif /no_format_opt /no_robust /win32 /out obj.X86 /prefix all iping_ /dlldata iping_d.c iping.idl
Processing .\iping.idl
iping.idl
Processing C:\Program Files (x86)\Windows Kits\8.1\include\um\objidl.idl
objidl.idl
Processing C:\Program Files (x86)\Windows Kits\8.1\include\um\unknwn.idl
unknwn.idl
Processing C:\Program Files (x86)\Windows Kits\8.1\include\shared\wtypes.idl
wtypes.idl
Processing C:\Program Files (x86)\Windows Kits\8.1\include\shared\wtypesbase.idl
wtypesbase.idl
Processing C:\Program Files (x86)\Windows Kits\8.1\include\shared\basetsd.h
basetsd.h
Processing C:\Program Files (x86)\Windows Kits\8.1\include\shared\guiddef.h
guiddef.h
Processing C:\Program Files (x86)\Windows Kits\8.1\include\um\oaidl.idl
oaidl.idl
Processing C:\Program Files (x86)\Windows Kits\8.1\include\um\oleidl.idl
oleidl.idl
Processing C:\Program Files (x86)\Windows Kits\8.1\include\um\oaidl.acf
oaidl.acf
cl /nologo /Zi /MT /Gm- /W3 /WX /Od /I..\..\include /D_WIN32_WINNT=0x0400 /Fdobj.X86\vc.pdb /DCONST_VTABLE /DCOBJMACROS -DWIN32 -DNT -DENTRY_PREFIX=iping_ -DREGISTER_PROXY_DLL /Iobj.X86 /Foobj.X86\ /c obj.X86\iping_i.c
iping_i.c
cl /nologo /Zi /MT /Gm- /W3 /WX /Od /I..\..\include /D_WIN32_WINNT=0x0400 /Fdobj.X86\vc.pdb /DCONST_VTABLE /DCOBJMACROS -DWIN32 -DNT -DENTRY_PREFIX=iping_ -DREGISTER_PROXY_DLL /Iobj.X86 /Foobj.X86\ /c obj.X86\iping_p.c
iping_p.c
cl /nologo /Zi /MT /Gm- /W3 /WX /Od /I..\..\include /D_WIN32_WINNT=0x0400 /Fdobj.X86\vc.pdb /DCONST_VTABLE /DCOBJMACROS -DWIN32 -DNT -DENTRY_PREFIX=iping_ -DREGISTER_PROXY_DLL /Iobj.X86 /Foobj.X86\ /c obj.X86\iping_d.c
iping_d.c
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /D_WIN32_WINNT=0x0400 /Fdobj.X86\vc.pdb /DCONST_VTABLE /DCOBJMACROS -DWIN32 -DNT /Iobj.X86 /Foobj.X86\ /c cping.cpp
cping.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /D_WIN32_WINNT=0x0400 /Fdobj.X86\vc.pdb /DCONST_VTABLE /DCOBJMACROS -DWIN32 -DNT /Fe..\..\bin.X86\cping.exe obj.X86\cping.obj obj.X86\iping_i.obj obj.X86\iping_p.obj obj.X86\iping_d.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib user32.lib shell32.lib uuid.lib ole32.lib rpcrt4.lib advapi32.lib wsock32.lib
cd "d:\Detours\samples\disas"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Feobj.X86\disasm.obj /FAcs /Faobj.X86\x86.lst /Fdobj.X86\disasm.pdb /Foobj.X86\disasm.obj /c x86.cpp
x86.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c disas.cpp
disas.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\disas.exe /FAcs /Faobj.X86\disas.lst /Fd..\..\bin.X86\disas.pdb obj.X86\disas.obj obj.X86\disasm.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console /entry:WinMainCRTStartup
cd "d:\Detours\samples\dtest"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\dtarge.res /i..\..\include dtarge.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c dtarge.cpp
dtarge.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\dtarge32.dll /Fd..\..\bin.X86\dtarge32.pdb obj.X86\dtarge.obj obj.X86\dtarge.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:Target0 /export:Target1 /export:Target2 /export:Target3 /export:Target4 /export:Target5 /export:Target6 /export:Target7 /export:Target8 /export:Target9 /export:Target10 /export:Target11 /export:Target12 /export:Target13 /export:Target14 /export:Target15 /export:Target16 /export:TargetV /export:TargetR ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\dtarge32.lib 和对象 ..\..\bin.X86\dtarge32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c dtest.cpp
dtest.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\dtest.exe /Fd..\..\bin.X86\dtest.pdb obj.X86\dtest.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib ..\..\bin.X86\dtarge32.lib /subsystem:console /entry:WinMainCRTStartup
cd "d:\Detours\samples\dumpe"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c dumpe.cpp
dumpe.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\dumpe.exe /Fd..\..\bin.X86\dumpe.pdb obj.X86\dumpe.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console
cd "d:\Detours\samples\dumpi"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c dumpi.cpp
dumpi.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\dumpi.exe /Fd..\..\bin.X86\dumpi.pdb obj.X86\dumpi.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console
cd "d:\Detours\samples\echo"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\echofx.res /i..\..\include echofx.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c main.cpp echonul.cpp
main.cpp
echonul.cpp
正在生成代码...
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Zl /Fe..\..\bin.X86\echonul.exe /Fd..\..\bin.X86\echonul.pdb obj.X86\main.obj obj.X86\echonul.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /export:Echo /subsystem:console
正在创建库 ..\..\bin.X86\echonul.lib 和对象 ..\..\bin.X86\echonul.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c echofx.cpp
echofx.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\echofx32.dll /Fd..\..\bin.X86\echofx32.pdb obj.X86\echofx.obj obj.X86\echofx.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME /export:Mine_Echo ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib ..\..\bin.X86\echonul.lib
正在创建库 ..\..\bin.X86\echofx32.lib 和对象 ..\..\bin.X86\echofx32.exp
cd "d:\Detours\samples\einst"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c edll1x.cpp
edll1x.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\edll1x32.dll /Fd..\..\bin.X86\edll1x32.pdb obj.X86\edll1x.obj /LD /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib user32.lib /subsystem:windows /base:0x7100000
正在创建库 ..\..\bin.X86\edll1x32.lib 和对象 ..\..\bin.X86\edll1x32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c edll2x.cpp
edll2x.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\edll2x32.dll /Fd..\..\bin.X86\edll2x32.pdb obj.X86\edll2x.obj /LD /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib user32.lib /subsystem:console /base:0x7200000
正在创建库 ..\..\bin.X86\edll2x32.lib 和对象 ..\..\bin.X86\edll2x32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c edll3x.cpp
edll3x.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\edll3x32.dll /Fd..\..\bin.X86\edll3x32.pdb obj.X86\edll3x.obj /LD /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib user32.lib /subsystem:console /base:0x7300000
正在创建库 ..\..\bin.X86\edll3x32.lib 和对象 ..\..\bin.X86\edll3x32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c einst.cpp
einst.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\einst.exe /Fd..\..\bin.X86\einst.pdb obj.X86\einst.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib user32.lib ..\..\bin.X86\edll1x32.lib ..\..\bin.X86\edll2x32.lib ..\..\bin.X86\edll3x32.lib /subsystem:console /entry:WinMainCRTStartup
cd "d:\Detours\samples\excep"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c excep.cpp firstexc.cpp
excep.cpp
firstexc.cpp
正在生成代码...
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\excep.exe /Fd..\..\bin.X86\excep.pdb obj.X86\excep.obj obj.X86\firstexc.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console /entry:WinMainCRTStartup
cd "d:\Detours\samples\comeasy"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\wrotei.res /i..\..\include wrotei.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c wrotei.cpp
wrotei.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\wrotei32.dll /Fd..\..\bin.X86\wrotei32.pdb obj.X86\wrotei.obj obj.X86\wrotei.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib ole32.lib
正在创建库 ..\..\bin.X86\wrotei32.lib 和对象 ..\..\bin.X86\wrotei32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c comeasy.cpp
comeasy.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\comeasy.exe /Fd..\..\bin.X86\comeasy.pdb obj.X86\comeasy.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib ole32.lib /subsystem:console /fixed:no
cd "d:\Detours\samples\commem"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c commem.cpp
commem.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\commem.exe /Fd..\..\bin.X86\commem.pdb obj.X86\commem.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib ole32.lib /subsystem:console
cd "d:\Detours\samples\findfunc"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\target.res /i..\..\include target.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c target.cpp
target.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\target32.dll /Fd..\..\bin.X86\target32.pdb obj.X86\target.obj obj.X86\target.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:Target /base:0x1900000 ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\target32.lib 和对象 ..\..\bin.X86\target32.exp
rc /DDETOURS_BITS=32 /foobj.X86\extend.res /i..\..\include extend.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c extend.cpp
extend.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\extend32.dll /Fd..\..\bin.X86\extend32.pdb obj.X86\extend.obj obj.X86\extend.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME /base:0x1a00000 ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\extend32.lib 和对象 ..\..\bin.X86\extend32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c findfunc.cpp
findfunc.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\findfunc.exe /Fd..\..\bin.X86\findfunc.pdb obj.X86\findfunc.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console /fixed:no ..\..\bin.X86\target32.lib
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c symtest.cpp
symtest.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\symtest.exe /Fd..\..\bin.X86\symtest.pdb obj.X86\symtest.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console /fixed:no ..\..\bin.X86\target32.lib
copy "D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\dbghelp.dll" ..\..\bin.X86\dbghelp.dll
已复制 1 个文件。
cd "d:\Detours\samples\member"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c member.cpp
member.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\member.exe /Fd..\..\bin.X86\member.pdb obj.X86\member.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console
cd "d:\Detours\samples\region"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c region.cpp
region.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\region.exe /Fd..\..\bin.X86\region.pdb obj.X86\region.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console
cd "d:\Detours\samples\traceapi"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\trcapi.res /i..\..\include trcapi.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcapi.cpp
trcapi.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\trcapi32.dll /Fd..\..\bin.X86\trcapi32.pdb obj.X86\trcapi.obj obj.X86\trcapi.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /release /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib gdi32.lib user32.lib shell32.lib advapi32.lib ole32.lib ws2_32.lib
正在创建库 ..\..\bin.X86\trcapi32.lib 和对象 ..\..\bin.X86\trcapi32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c testapi.cpp
testapi.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\testapi.exe /Fd..\..\bin.X86\testapi.pdb obj.X86\testapi.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib gdi32.lib user32.lib shell32.lib advapi32.lib ole32.lib ws2_32.lib /subsystem:console /fixed:no
cd "d:\Detours\samples\tracebld"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\trcbld.res /i..\..\include trcbld.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcbld.cpp
trcbld.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\trcbld32.dll /Fd..\..\bin.X86\trcbld32.pdb obj.X86\trcbld.obj obj.X86\trcbld.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /release /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\trcbld32.lib 和对象 ..\..\bin.X86\trcbld32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c tracebld.cpp
tracebld.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\tracebld.exe /Fd..\..\bin.X86\tracebld.pdb obj.X86\tracebld.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console /fixed:no
cd "d:\Detours\samples\tracemem"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\trcmem.res /i..\..\include trcmem.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcmem.cpp
trcmem.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\trcmem32.dll /Fd..\..\bin.X86\trcmem32.pdb obj.X86\trcmem.obj obj.X86\trcmem.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\trcmem32.lib 和对象 ..\..\bin.X86\trcmem32.exp
cd "d:\Detours\samples\tracereg"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\trcreg.res /i..\..\include trcreg.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcreg.cpp
trcreg.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\trcreg32.dll /Fd..\..\bin.X86\trcreg32.pdb obj.X86\trcreg.obj obj.X86\trcreg.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib advapi32.lib
正在创建库 ..\..\bin.X86\trcreg32.lib 和对象 ..\..\bin.X86\trcreg32.exp
cd "d:\Detours\samples\traceser"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\trcser.res /i..\..\include trcser.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcser.cpp
trcser.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\trcser32.dll /Fd..\..\bin.X86\trcser32.pdb obj.X86\trcser.obj obj.X86\trcser.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\trcser32.lib 和对象 ..\..\bin.X86\trcser32.exp
cd "d:\Detours\samples\tracessl"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\trcssl.res /i..\..\include trcssl.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trcssl.cpp
trcssl.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\trcssl32.dll /Fd..\..\bin.X86\trcssl32.pdb obj.X86\trcssl.obj obj.X86\trcssl.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib ws2_32.lib secur32.lib
正在创建库 ..\..\bin.X86\trcssl32.lib 和对象 ..\..\bin.X86\trcssl32.exp
cd "d:\Detours\samples\tracetcp"
Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\trctcp.res /i..\..\include trctcp.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trctcp.cpp
trctcp.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\trctcp32.dll /Fd..\..\bin.X86\trctcp32.pdb obj.X86\trctcp.obj obj.X86\trctcp.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib ws2_32.lib
正在创建库 ..\..\bin.X86\trctcp32.lib 和对象 ..\..\bin.X86\trctcp32.exp
cd "d:\Detours\samples\tracelnk"
. Created obj.X86
rc /DDETOURS_BITS=32 /foobj.X86\trclnk.res /i..\..\include trclnk.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c trclnk.cpp
trclnk.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\trclnk32.dll /Fd..\..\bin.X86\trclnk32.pdb obj.X86\trclnk.obj obj.X86\trclnk.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\trclnk32.lib 和对象 ..\..\bin.X86\trclnk32.exp
cd "d:\Detours\samples\tryman"
Created ..\..\bin.X86
rc /DDETOURS_BITS=32 /foobj.X86\tstman.res /i..\..\include tstman.rc
Microsoft (R) Windows (R) Resource Compiler Version 6.3.9600.16384
Copyright (C) Microsoft Corporation. All rights reserved.
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c tstman.cpp
tstman.cpp
cl /LD /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\tstman32.dll /Fd..\..\bin.X86\tstman32.pdb obj.X86\tstman.obj obj.X86\tstman.res /link /release /incremental:no /profile /nodefaultlib:oldnames.lib /subsystem:console /export:DetourFinishHelperProcess,@1,NONAME /export:Test3264 ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib
正在创建库 ..\..\bin.X86\tstman32.lib 和对象 ..\..\bin.X86\tstman32.exp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c tryman.cpp
tryman.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\tryman32.exe /Fd..\..\bin.X86\tryman32.pdb obj.X86\tryman.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib ..\..\bin.X86\tstman32.lib /subsystem:console
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c size.cpp
size.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\size32.exe /Fd..\..\bin.X86\size32.pdb obj.X86\size.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib /subsystem:console /fixed:no
if not exist ..\..\bin.X86\key.snk sn -k ..\..\bin.X86\key.snk
Microsoft(R) .NET Framework 强名称实用工具 版本 4.0.30319.33440
版权所有(C) Microsoft Corporation。保留所有权利。
密钥对写入到 ..\..\bin.X86\key.snk
csc /nologo /nowarn:1607 /unsafe- /optimize+ /debug+ /warnaserror /platform:x64 /keyfile:..\..\bin.X86\key.snk /out:..\..\bin.X86\managed-x64.exe managed.cs
csc /nologo /nowarn:1607 /unsafe- /optimize+ /debug+ /warnaserror /platform:itanium /keyfile:..\..\bin.X86\key.snk /out:..\..\bin.X86\managed-ia64.exe managed.cs
csc /nologo /nowarn:1607 /unsafe- /optimize+ /debug+ /warnaserror /platform:x86 /keyfile:..\..\bin.X86\key.snk /out:..\..\bin.X86\managed-x86.exe managed.cs
csc /nologo /nowarn:1607 /unsafe- /optimize+ /debug+ /warnaserror /platform:anycpu /keyfile:..\..\bin.X86\key.snk /out:..\..\bin.X86\managed-any.exe managed.cs
csc /nologo /nowarn:1607 /unsafe- /optimize+ /debug+ /warnaserror /platform:anycpu32bitpreferred /keyfile:..\..\bin.X86\key.snk /out:..\..\bin.X86\managed-any32.exe managed.cs
cd "d:\Detours\samples\impmunge"
Created obj.X86
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fdobj.X86\vc.pdb /Foobj.X86\ /c impmunge.cpp
impmunge.cpp
cl /nologo /Zi /MT /Gm- /W4 /WX /Od /I..\..\include /Fe..\..\bin.X86\impmunge.exe /Fd..\..\bin.X86\impmunge.pdb obj.X86\impmunge.obj /link /release /incremental:no /profile /nodefaultlib:oldnames.lib ..\..\lib.X86\syelog.lib ..\..\lib.X86\detours.lib kernel32.lib imagehlp.lib /subsystem:console
cd "d:\Detours\samples"
cd "d:\Detours"
4. 至此detours编译完成。
有任何问题请给我留言或直接联系我。
联系方式
Email:code_captain@163.com