Detours vs. EasyHook

Mar 8, 2011 at 6:03 PM

Hello, All.
I really appreciate what is being done in this project.

I tried to follow the documentation and noticed that it is out-of-sync with the binaries.

At first, I thought I had to use .NET 4.0 to get it to work, then realized that the binary version doesn't support Config.BeginUpdate(), etc., which the tutorial uses.
It was not until I downloaded the test suite and saw a project in there that I realized that strong names are required to get the hooking to work.  I have no idea how to even make a strong name, but I'm sure a quick google search will teach me how.


I suppose that was one reason why my attempt didn't work.
I still have been unable to recreate a project and have it work correctly.
Does anyone have access to updated documentation?


Also, I'm wanting to create a library that houses many different detoured functions.

In detours, there was a way to just provide the offset of the function and detour it--not a lot of fuss around it.
Here, it looks like you're required to generate a mass amount of code to get a single hook to work.

Does anyone know where to point me from here?

 

Thanks!
Brandon