Re: Message between threads

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



CreateMessageQueue and friends are overkill for threads in the same process
and are actually less efficient than your own Queue implementation with
Critical sections. (I'd recommend using STL etc.. to keep from needing to
implement another queue implementation though) you can use PostMessage to
asynchronously provide a message to the GUI.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com


.