One common way is to use files to communicate between the processed. Each can write to a specific file that the other reads from. You can use WCF, the registry, network interface, message queues or any other mechanism that lives outside the process. The registry as an IPC mechanism.
ContentProviders are a good approach to share data between applications.
I have an application (A) that needs to launch another application (B). I need to pass data between the applications. I can think of two approaches. The first is to open a socket. The second is to share data via a dll.
The opening socket approach is straight forward.
The dll approach I have some questions? I can load plug-in dlls into B. I want to create a dll that A can use to pass data to B. When loading dlls, is only one instance of the dll loaded? If so, does this mean that data can be shared between applications that load the dll?
What is the better choice?
Are there other ways of doing this?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With