//este es hilo de vigilancia del otro hilo
unsigned int __stdcall Watcher(void *)
{
_cwait(NULL,(intptr_t)app->GetCom()->ReadThread,0); //no detecta la finalización
//WaitForSingleObject(app->GetCom()->ReadThread,INFINITE); //no detecta la finalización
if (app->IsFinished()==false)
MessageBox(0,"HILO DE LECTURA ROTO SIN SOLICITUD",0,0);
return 0;
}