Interprocess Messaging in Windows
Posted on 2004-09-12
We are facing a problem in sending messages between two different EXEs on the same machine using WIN API.
The sending EXE uses PostMessage or PostThreadMessage to send a user defined message to the target process. This operation completes successfully, as per the errorcode.
But the target EXE, which uses PeekMessage API to read the message never gets this message.
It would be great if someone could throw some light on what could be the problem or a better way to implement this. We are using Delphi 6.0 to implement this.
Thanks in advance.