I'm trying to do some user-mode hooks in x32 with EasyHook but I'm not able.
First, I tried an old version 2.0 of EasyHook and it was working but it had an issue about attaching debugger.
Then, I moved to v2.6 that I saw it was the recommended version. Unfortunately, I'm getting an exception in thread.c in RhInjectLibrary function in this line:
if(!IsValidPointer(InPassThruBuffer, InPassThruSize)) THROW(STATUS_INVALID_PARAMETER_6, L"The given pass thru buffer is invalid.");
I don't know what I can do to solve this problem.