hi Everybody, I am using postquitmessage(GetIndexThread(<thraedname>,
NULL)) function to terminate the thread just below the calling
function.
UINT CHRS_MoleDlg::Thread_Camera(LPVOID param)
{
CHRS_MoleDlg *self=(CHRS_MoleDlg *)param;
for(;;)
self->OnCameraThread();
PostQuitMessage(GetExitCodeThread(Thread_Camera , NULL));
return 0;
}
but still i am facing problem , actually i dont know exactly where i
should write postquitmessage() what function i should used to terminate
thraed.
please tell me.