News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Comments on Simple inter application communication

Started by aw27, October 04, 2019, 09:58:44 PM

Previous topic - Next topic

sinsi

QuoteThe sending thread is blocked until the receiving thread processes the message.
That's the problem,

Quote from: hutchMicrosoft document the usage, usage is determined by the programmer.
In this case, by other programmers. According to spy++ there are around 300 top level windows going.

aw27

Quote
Microsoft document the usage, usage is determined by the programmer

:biggrin:

In your caller.asm you have used PostMessage for buttons 2 to 8 either because you have seen something wrong with SendMessage or because you like to try multiple alternatives.
In the last case, why have you not tested SendNotifyMessage, SendMessageTimeout or SendMessageCallback as well?

hutch--

Nah, it was because the first 2 buttons were originally used to show or hide the slave window. It does not matter much in this context as both work.