I do not know the right way to explain this, but I'll try it my way. I have an .exe application and I need to create some customizations for the executable, so I created a DLL and gave the hook so that the changes are loaded. By then, everyone knows.
The scenario is this: Hook (0xOffset, & myClass :: myFunc);
There is a class in .exe that I need to completely rewrite and I've done this in my dll, but I'm having trouble with the hook in the class functions, they are not static. I read many topics and I could not implement with the methods that were presented by other people. In some cases, the compiler did not accept, in others it did, but .exe did not find the actual address of the function.
Could you help me? Any examples?