Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

when Run() method gets called in mfc multithreaded

$
0
0

Hi

  I am working on legacy mfc project; I have a class (CProvThread)inherits CWindThread and a second class (CProvTignThread) extends this class

pulic class CProvThread: public CWindThread,public CSubject
{

}

pulic class CProvTignThread: public CProvThread
{

void Run()
{
}

}

the Run() method gets called and it has all things threads can do

but I cannot figure out who is calling it and when.

in all the code in the project there is no mention of AfxBeginThread() except only in one place in the Mainframe and that is when a thread exists

any idea please help


Viewing all articles
Browse latest Browse all 15302

Trending Articles