[Delphi] Api Hooking problem
Hello all
I've hooked RECV api successfully, incidentally, almost successfully.
The hook works fine in every games, but, in games protected by GameGuard doesn't work..
The only problem that I believe that is, is because GG hook the VirtualProtect api, and my hook function use VirtualProtect too, consequently, GG disable my hook in recv.
I'm using
afxCodeHook library, and you can see the unit here:
afxCodeHook.pas
So, my question is:
1. Anyone have a ASM code to overwrite the hook function of AfxCodeHook library?
2. If not, exists others API like VirtualProtect that was not hooked by GameGuard? Which?
Thank you very much..