in my project im having manager class and calc class. calc clas开发者_C百科s derived from CWinThread. and manager have a pointer to calc class. how do i using AfxBeginThread and where? note im new in mfc so im sorry if there is mistakes. thanks
You should be able to call Calc::CreateThread().  You need to override the CWinThread::Run() method to implement your functionality, and you might also want to override the CWinThread::InitInstance() and CWinThread::ExitInstance() methods too.
I consider this an MFC tutorial kind of question.
Therefore, let me point you to www.codeproject.org, which is one of the better sites for MFC resources. (Indeed I think there are some really excellent articles and code examples there.)
For example, you can find an intro on MFC threads in the article 'Threads with MFC'.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论