I found "Delphi Inter Process Communication (IPC) using SendMessage" with Google.
Here's a piece of the code from Sender to send a message for Receiver :
procedure TfrmClient.FormCreate(Sender: TObject);
begin
MyMsg := RegisterWindowMessage('MyMessage');
ServerApplicationHandle := FindWindow('TApplication', 'Project1');
end;
The problem is my receiver have random caption name. So how can I send a message to receiver? Any idea? My Sender is a DLL and my receiver is Exe.