EldoS | Feel safer!

Software components for data protection, secure storage and transfer

PostMessage vs. SendMessage

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
#12219
Posted: 01/27/2010 12:45:45
by Malcolm Toon (Standard support level)
Joined: 01/20/2010
Posts: 22

Quick question.. if I want to send a collection of sequenced messages, will post message deliver the messages in the same order as send message? I know it's an odd question because send message with naturally sequence based on the blocking nature of the call, but I'm curious if PostMessage guarentees the sequence is preserved.

Thank you!
-Malcolm
#12220
Posted: 01/27/2010 12:52:21
by Eugene Mayevski (EldoS Corp.)

Yes, the order will be preserved. But PostMessage will discard messages if they are not delivered. This can cause drop of some messages. With SendMessage you at least know that delivery failed and can re-send the message.


Sincerely yours
Eugene Mayevski

Reply

Statistics

Topic viewed 2279 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!