I have a dll that is loaded into multiple processes.
What would be a clean way to have communication across those processes/dlls.
Sending simple strings is the goal.
I would prefer to avoid sendmessage, file io, and sending the address of the string command.
I have a dll that is loaded into multiple processes. What would be a
Share
I would look into shared memory. There’s a nice example on MSDN.
Keep in mind that just like when using threads in the same process, access to shared memory is not serialized. You’ll need some form of synchronization (e.g. a named mutex) to serialize access to the memory block.