Introduction - If you have any usage issues, please Google them yourself
Procedures to create two threads, the first thread there is no message queue, the main thread to the first thread attempts to send a message, we can see PostThreadMessage () to return FALSE, the procedure to create the second thread has a message queue, main thread of PostThreadMessage () to return TRUE, the procedure from Visual C++ 6.0 development, did not use MFC
Packet : 59564343q1.zip filelist
Debug/
Debug/Q1.exe
Q1.cpp
Q1.dsp
Q1.dsw
Q1.opt
Q1.plg
StdAfx.cpp
StdAfx.h