Using an IPC Channel to share data across the injected app and the injector app.

Mar 14, 2014 at 3:13 AM
Hey people,

I am wanting the DLL I inject into an application to be able to have access to values from the application that injected it. I was hoping to have the injector application send the data to the injected.

I was reading this:
http://stackoverflow.com/questions/13354882/easyhook-net-remoting-sharing-interface-between-both-client-and-server

and this:
https://easyhook.codeplex.com/discussions/402958

But can't quite get what I want. The results I'm getting appears to be that the injected application isn't referencing the Interface object created in the injector application but rather it's own separate object, and therefore I can't read members I set in the injector application. The stacked overflow answer wasn't exactly clear to me on where everything goes and the other appears to yield the same result.

I've tried a lot, but must be doing something wrong or out of order. Any hints or more complete examples?
Coordinator
Mar 19, 2014 at 5:41 AM
Sure, take a look at the bi-directional IPC used in https://github.com/spazzarama/Direct3DHook
Marked as answer by SoloDeveloper on 3/30/2014 at 6:24 PM
Mar 31, 2014 at 1:24 AM
Thanks, I ended up using Named Pipes at the time, but I'll look into this too and see which delivers better performance.