LoadLibraryHook hook load lib within process install polyhook using vcpkg https://github.com/stevemk14ebr/PolyHook_2_0#packaging vcpkg install polyhook2:x64-windows ...should be able to build from there.