Arno Garrels wrote: > Tobias Rapp wrote: > > Can you give details why a call to PeekMessage() should be added > > here? > > Not necessarily, but it's good practice to initialize the queue as > soon as possible in order not to miss any message.
Ok, I understand now. It's not strictly necessary but good practice. I am currently debugging some other multi-threaded program which seems to have a problem with message processing similar to the issue posted here so I was very interested. Thanks for the info! Tobias -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be