SendMessage is required because a result is usually required.  The 
messages are often used to return information to the 3rd party DLL in 
the wParam or Result parameters.

I've got it all working fine now with ProcessMessages.

Thanks,
Ross.

----- Original Message ----- 
From: "Karl Reynolds" <[EMAIL PROTECTED]>
To: "'NZ Borland Developers Group - Delphi List'" <[email protected]>
Sent: Wednesday, July 19, 2006 10:30 AM
Subject: RE: [DUG] selective processing of Windows messages


> Trouble is that the main app (App1) waits in a loop for a
> response from
> App2 when it executes a command, so there is a hang situation
> where App1
> is waiting for App2 to finish executing a command, and App2
> is waiting
> for a SendMessage reponse from App1.

So maybe App2 should be using PostMessage rather than SendMessage?

Cheers,
Carl
_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi 

_______________________________________________
Delphi mailing list
[email protected]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to