I'm so happy to know that madCodeHook was updated to 4.0, with some useful improvements. We soon updated madCodeHook in our project, but we met a problem.
Our project was always protected by "Themida" a software protection system. It did well while the program using madCodeHook 3.x.x. However, after we updated madCodeHook to 4.0.2, the protected DLL can not be loaded by the main program(using the function InjectLibrary). If the DLL is not protected by "Themida", the main program can load the DLL successfully.
So we doubt that there are problems to load a protected DLL by madCodeHook 4.0.
We look forward to your help, and thank you very much.