This is not the popular minhook that one is here https://github.com/TsudaKageyu/minhook.
On this repository you can find a copy of the code found in https://www.codeproject.com/Articles/21414/Powerful-x86-x64-Mini-Hook-Engine and a fix for make it works on windows 10
I though was fun to do some necromancy to an old code on the way I found that it doesnt work anymore so I read the code and did some debug to make it works
Visual studio 2022 and its workload Desktop development with C++ are requiere
Open the .sln file with visual studio and let it upgrade the solution. Build the solution as usual. That is, no adictional fix are require
- nthookengine_original contain the original code without modifications found on Powerful x86/x64 Mini Hook-Engine
- nthookengine_modified code upgrade to vs-studio 2022 with binaries built on this version
There is a miss calculation on the code size to disam so I changed it View Fix