Author Topic: Comments on Simple inter application communication  (Read 167 times)

sinsi

  • Member
  • *****
  • Posts: 1182
Re: Comments on Simple inter application communication
« Reply #15 on: October 05, 2019, 03:58:34 PM »
Quote
The sending thread is blocked until the receiving thread processes the message.
That's the problem,

Quote from: hutch
Microsoft 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.
I can walk on water but stagger on beer bourbon.

AW

  • Member
  • *****
  • Posts: 2322
  • Let's Make ASM Great Again!
Re: Comments on Simple inter application communication
« Reply #16 on: October 05, 2019, 04:02:48 PM »
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--

  • Administrator
  • Member
  • ******
  • Posts: 6662
  • Mnemonic Driven API Grinder
    • The MASM32 SDK
Re: Comments on Simple inter application communication
« Reply #17 on: October 05, 2019, 05:53:35 PM »
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.
hutch at movsd dot com
http://www.masm32.com    :biggrin:  :skrewy: