Possible Duplicate:
Inter-process communication
Using Delphi, is there any possibility that I build two simple programs that communicate and interact with each other, let’s say by clicking a button in the first one the other one displays a message.
Is It Possible?
There are many possebilties for IPC
and so on …
Easiest way would be sending Messages to a window handle found by FindWindow
Named Pipes and TCP-IP should be prefered for extensive communications.
Microdemo:
First Project:
Second Project:
For transferring more information you could use WM_CopyData