AfxBeginThread no work when attatch it in VC6 [closed]

I have a problem about thread. I develop a dll and try useing AfxbeginThread in VC6.

AfxBeginThread(ReciveImg, (LPVOID)this,THREAD_PRIORITY_NORMAL,0,0,NULL);

and ReciveImg function

ReciveImg()
{
   while(1)
   {
     //Recive image...
   }
}

but ReciveImg fucntion no work when I attached a process. Anybody can help me? Thank you.



from Recent Questions - Stack Overflow https://ift.tt/3EuoVD3
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation