You can find more information about the CoreHook project here.
First, build or download the native binaries from here.
To run the tests, place the corehook32.dll
(for the 32-bit runtime) in src\main\resources\win32-x86
or corehook64.dll
(64-bit runtime) in src\main\resources\win32-x86-64
.