document updated 15 years ago, on Nov 5, 2009
To install detours:
1. download the package
http://research.microsoft.com/en-us/projects/detours/
2. read README.txt under C:\Program Files\Microsoft Research\. This will explain how to build it.
3. you'll probably just run `nmake` from the main Detours directory
If you get an error like:
symtest.cpp(270) : error C2664: 'BOOL (HANDLE,PSYM_ENUMMODULES_CALLBACK64,PVOID)' : cannot
convert parameter 2 from 'overloaded-function' to 'PSYM_ENUMMODULES_CALLBACK64' of the functions
with this name in scope match the target type
Then you need this patch:
http://bschwehn.de/blog/?p=16