http://msdn.microsoft.com/en-us/library/s3w9x78e(v=VS.100).aspx
if you want to initialize any member data of the CWinThread object, such as
m_bAutoDelete or any members of your derived class, before the thread starts running. Once your initialization is complete, use
CWinThread::ResumeThread to start the thread running. The thread will not execute until
CWinThread::ResumeThread is called.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful, so they will appear differently to other users who are visiting your thread for the same problem.
Visual C++ MVP