Trying to createandinject get NullReferenceException, object isn't instantiated.

Jun 2, 2015 at 9:06 AM
Edited Jun 8, 2015 at 4:13 PM

I'm having a very hard time getting started with EasyHook, there's very very few tutorials and examples out there, and there's little to no documentation. Sadly.

I'm trying to to understand how one injects a dll into another process with EasyHook. I have tried using the CreateAndInject function, but I get a NullReferenceException. Apparently some object hasn't been instantiated. I don't understand why I get that since all I'm doing is:

RemoteHooking.CreateAndInject("create and inject some application", "", 0, "DLL path", "DLL path", 0, "Is this the channel name?")

Best regards