Simple C++ CWinThread Example « Mental Jetsam
Creating a background thread in MFC is pretty simple but there is a little trick. Don't forget to create a InitInstance() virtual function as well as the Run() function. The MFC CWinThread initialization process calls InitInstance() when it first creates
mentaljetsam.wordpress.com |