Description: This a study on CWinThread and the use of inherited from CWinThread procedures for the use of multi-threaded! 1, to make full use of DECLARE_DYNCREATE, this can be dynamically created. 2, inherited from CWinThread, so you can use CreateThread () function thread-create, in the beginning I was a book AfxBeginThread (RUNTIME_CLASS (CMyClass)) misled, but also that we must create a thread in this manner in accordance with it. 3, search MSDN at the same time and pay attention to thinking C++ Mechanisms targeted in this way can solve the problems smoothly.
File list (Check if you may need any files):
CWinThread
..........\CMyClass.cpp
..........\CMyClass.h
..........\CWinThread.aps
..........\CWinThread.clw
..........\CWinThread.cpp
..........\CWinThread.dep
..........\CWinThread.dsp
..........\CWinThread.dsw
..........\CWinThread.h
..........\CWinThread.mak
..........\CWinThread.ncb
..........\CWinThread.opt
..........\CWinThread.plg
..........\CWinThread.rc
..........\CWinThreadDoc.cpp
..........\CWinThreadDoc.h
..........\CWinThreadView.cpp
..........\CWinThreadView.h
..........\MainFrm.cpp
..........\MainFrm.h
..........\ReadMe.txt
..........\readme2.txt
..........\res
..........\...\CWinThread.rc2
..........\Resource.h
..........\StdAfx.cpp
..........\StdAfx.h