Category : hook

i want to change the return value of an external function (in runtime) which is inside another dll which gets loaded when the program starts. Pratical example of what i want to do: Function inside the dll: int numberOfMoney() { return 0; } My main program: HMODULE handle = LoadLibraryA("/myDll.dll"); auto gotFunc = GetProcAddress(handle, "numberOfMoney"); ..

Read more

I am trying to get all the Windows messages of a specific programm. To do that i am calling SetWindowsHookEx() and passing a prior loaded DLL and a function, which is used as a callback. But the problem is, that the callback function is never called. The code of the programm that calls SetWindowsHookEx() is ..

Read more