Click here to Skip to main content
15,914,452 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: TranslateMessage in NON-GUI threads ... Pin
Mark Salsbery15-Sep-08 5:49
Mark Salsbery15-Sep-08 5:49 
QuestionWindow Message Problem Pin
Dhiraj kumar Saini15-Sep-08 2:01
Dhiraj kumar Saini15-Sep-08 2:01 
AnswerRe: Window Message Problem Pin
Hamid_RT15-Sep-08 2:07
Hamid_RT15-Sep-08 2:07 
GeneralRe: Window Message Problem Pin
Dhiraj kumar Saini15-Sep-08 2:18
Dhiraj kumar Saini15-Sep-08 2:18 
GeneralRe: Window Message Problem Pin
Hamid_RT15-Sep-08 2:25
Hamid_RT15-Sep-08 2:25 
GeneralRe: Window Message Problem Pin
Dhiraj kumar Saini15-Sep-08 3:01
Dhiraj kumar Saini15-Sep-08 3:01 
GeneralRe: Window Message Problem Pin
Hamid_RT15-Sep-08 3:16
Hamid_RT15-Sep-08 3:16 
QuestionWaitForMultipleObjects Pin
_AnsHUMAN_ 15-Sep-08 1:44
_AnsHUMAN_ 15-Sep-08 1:44 
Greetings all,
While coding for a certain logic, I encountered an error (application crash-not often reproducible) which arose due to the fact that an object of a class was still being accessed by one or more threads. Now the proposed solution is to signal the thread and wait for its completion. What I have is only the thread id.
Is it possible to get the handle to the thread using it's id(I can't do this at the time of thread creation as it is already implemented and I can't change the way it is done) so that I can use WaitForMultipleObjects and wait for the threads to finish their processing before objects of the class are destroyed?
Any help / pointers : appreciated.

Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

QuestionRe: WaitForMultipleObjects Pin
CPallini15-Sep-08 1:52
mveCPallini15-Sep-08 1:52 
Questionset / call two different timmer/ handlers respectively Pin
ptr_Electron15-Sep-08 1:40
ptr_Electron15-Sep-08 1:40 
AnswerRe: set / call two different timmer/ handlers respectively Pin
Chris Losinger15-Sep-08 1:45
professionalChris Losinger15-Sep-08 1:45 
AnswerRe: set / call two different timmer/ handlers respectively Pin
CPallini15-Sep-08 1:48
mveCPallini15-Sep-08 1:48 
AnswerRe: set / call two different timmer/ handlers respectively Pin
Hamid_RT15-Sep-08 2:03
Hamid_RT15-Sep-08 2:03 
QuestionLittle Splitter problem ! Pin
CrocodileBuck15-Sep-08 1:03
CrocodileBuck15-Sep-08 1:03 
AnswerRe: Little Splitter problem ! Pin
David Crow15-Sep-08 5:01
David Crow15-Sep-08 5:01 
GeneralRe: Little Splitter problem ! Pin
CrocodileBuck15-Sep-08 8:21
CrocodileBuck15-Sep-08 8:21 
Questionhow to know that we have reached end of file? Pin
kapardhi15-Sep-08 0:59
kapardhi15-Sep-08 0:59 
AnswerRe: how to know that we have reached end of file? Pin
toxcct15-Sep-08 1:31
toxcct15-Sep-08 1:31 
GeneralRe: how to know that we have reached end of file? Pin
kapardhi15-Sep-08 1:43
kapardhi15-Sep-08 1:43 
GeneralRe: how to know that we have reached end of file? Pin
David Crow15-Sep-08 5:08
David Crow15-Sep-08 5:08 
GeneralRe: how to know that we have reached end of file? Pin
toxcct15-Sep-08 5:42
toxcct15-Sep-08 5:42 
GeneralRe: how to know that we have reached end of file? Pin
kapardhi15-Sep-08 19:03
kapardhi15-Sep-08 19:03 
AnswerRe: how to know that we have reached end of file? Pin
Sarath C15-Sep-08 1:36
Sarath C15-Sep-08 1:36 
AnswerRe: how to know that we have reached end of file? Pin
_AnsHUMAN_ 15-Sep-08 1:54
_AnsHUMAN_ 15-Sep-08 1:54 
GeneralRe: how to know that we have reached end of file? Pin
kapardhi15-Sep-08 2:37
kapardhi15-Sep-08 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.