Click here to Skip to main content
16,016,501 members

Comments by RamyaRaj from NewDelhi (Top 29 by date)

RamyaRaj from NewDelhi 2-Jun-11 1:19am View    
ok , If I use PostMessage(WM_QUIT) then there is no need of using WaitForSingleObject or Terminatethread to termintae the thread.
RamyaRaj from NewDelhi 1-Jun-11 1:24am View    
hi Albert Holguin,
If I use PostMessage(WM_QUIT) it will post that message to process or thread.If it process to thread then this PostMessage will send message to which thread ,because I am using 16 threads one for each camera.Can you please help me out.Thanks in Advance.

Regards,
RamyaRaj.
RamyaRaj from NewDelhi 24-May-11 6:11am View    
Hi to all,
Can anyone please help me out from this problem still I dint find any solution to this.If I am not able to convey my question properly ,Please can anyone help me how to post this question.

Thanks to all in Advance.

Regards,
RamyaRaj.
RamyaRaj from NewDelhi 23-May-11 0:35am View    
Ok Albert Holguin,
To terminate thread can i use WaitForSingleObject function
RamyaRaj from NewDelhi 21-May-11 5:47am View    
hi Albert Holguin, I created Pointer variable Seperately for all threads.I made a mistake of using timers,now i removed timer.But how to terminate thread and how to find wheather thread is terminated properly or not.While exiting my application i am suspending thread and terminating it but still its not terminating.Is there any other way to terminate thread.Here is the code what i used. here m_iCamNo is camera number(I used 16 cameras). if(m_ThRecieveImage[m_iCamNo]) m_ThRecieveImage[m_iCamNo]->SuspendThread(); ::TerminateThread(m_ThRecieveImage[m_iCamNo],90);
Is there any thing wrong in that. Thanks in advance.
Regards, RamyaRaj.