You will need to create a helper 64-bit application that does the injection for you.
EasyHook: Inject 64 bit dll from 32 bit app in native C app?
Question
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
OTHER TIPS
No, you cannot since x86 application cannot even OpenProcess of a x64 process.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow