Communication between all running processes of the same application

123 Views Asked by At

Is it possible to get HANDLES of all running processes of my application?

I need to send message to all currently running processes of my application. Every process may execute from a different location (folder/filename) and may be a different version of the same application. Other applications should never receive my messages.

Originator itself shouldn't receive a message, only other instances should receive a message. New instances of my application start in future also should communicate with other currently running copies.

Main window class and name may differ, so FindWindow() is not a solution for me.

How can I do this? What is the best way to solve this task?

0

There are 0 best solutions below