MH_EnableHook can't hook
marfixdev opened this issue · comments
[+] fnCreateSwapChain:-> 4 [+] fnCreateSwapChainForHwndChain:-> 4 [+] fnCreateSwapChainForCWindowChain:-> 4 [+] fnCreateSwapChainForCompChain:-> 4 [+] fnPresent:-> 4 [+] fnPresent1:-> 4 [+] fnResizeBuffers:-> 4 [+] fnResizeBuffers1:-> 4 [+] fnExecuteCommandLists:-> 4
These are MH_STATUS outputs which means 4 = MH_ERROR_NOT_CREATED = hook position cannot be found.
Directx12 library tried on 2 different games.
what app/game?
I just noticed it only happens if I inject with my ManualMapper injector :/ Can you help ?
Game Name MW2 but it happens because of manual mapper I guess. Does it happen because I can't resolve imports or make TLS callbacks in my injector ?
Edit : Its not bc of my injector
Nvm. Its not because of my injector. I tried on other app it injects fine with my manual mapper. Its only problem that If i use your project MH_EnableHook doesnt work. Whats problem ? Other project uses kiero hook in hooks sucessfully but on your project Minhook cant enable hooks. Maybe pointers or methods table incorrect ?