Search code examples
ceasyhook

EasyHook: Inject 64 bit dll from 32 bit app in native C app?


Is it possible to inject 64 bit dll into 64 bit host app from 32 bit app in native c? (not C# or managed c++)

I compiled the dll I want to inject in both 32 and 64 form, but when I call

RhInjectLibrary(pid,0,EASYHOOK_INJECT_DEFAULT,path,path64,NULL);

I get WOW error.

32 into 32 injection works fine.


Solution

  • You will need to create a helper 64-bit application that does the injection for you.