Search code examples
c#.netdllout-of-process

Calling a living object from one Process while running in another Process


Not really sure how to ask this question because I really don't know what I'm talking about. I have two DLLs (.NET), each is an AddIn that runs in two different application processes i.e. application one loads DLL one and application two loads DLL two. I wanted these DLLs to be able to communicate while loaded. In each DLL, I know the exact class that will be instantiated by the host process and I want these two living objects in each process to be able to communicate (call methods on each other). This seems like it would be possible. Has anyone done something like this before?


Solution

  • Although some might say a dprecated technology .Net Remoting is suited to this kind of inter-process object instance communications on the same host.