nefarius / Injector

Command line utility to inject and eject DLLs
MIT License
598 stars 99 forks source link

Error #9

Closed memerich closed 4 years ago

memerich commented 4 years ago

I getting this error "Call to LoadLibraryW in remote process failed."

nefarius commented 4 years ago

Make sure you inject a 32-Bit DLL in a 32-Bit process and likewise for 64-Bit. The DLL you inject must also have all its possible dependencies already mapped into the process, that's basically it. It works best if the DLL is self contained (has all dependencies statically linked into it). Good luck!

EDIT: depending on the use-case if you inject into games, make sure they are not anti-cheat protected, since most sophisticated solutions block DLL injection.