Is there a quick way to hook a dll in c++? I know there is Microsoft\'s Detours thing, but isn\'t there a quick a simple way just to hook a few dll functions?
For examp
Just call GetProcAddress(hDll, "mytestfunction"), and write jmp hook_mytestfunction
there, then place instructions at start of mytestfunction in hook_mytestfunction.
It's really quick and easy, of course if you understand it. If you don't - use MS Detours or another library. Usually you can do it without understanding of how it works.