MFC开线程

BOOL C*****::StartMakeing( void )
{
unsigned threadID = 0;   
m_start = true;
m_hThread =(HANDLE) _beginthreadex(NULL, 0, MakeMontage, (LPVOID)this, 0, &threadID );
return (m_start != NULL);   
}

unsigned __stdcall C*****::MakeMontage( LPVOID lpParameter )
{
if(lpParameter)
{
C***** *pclient = (CDossierMontage*)lpParameter;
pclient->doMake();
}
return 0xdead;
}

void C*****::doMake( )

你可能感兴趣的:(MFC开线程)