Click here to Skip to main content
15,893,814 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Environment for PIC programming Pin
CodingLover28-Sep-11 18:07
CodingLover28-Sep-11 18:07 
QuestionWaitForSingleObject Pin
john563227-Sep-11 22:58
john563227-Sep-11 22:58 
AnswerRe: WaitForSingleObject Pin
Cedric Moonen28-Sep-11 1:21
Cedric Moonen28-Sep-11 1:21 
AnswerRe: WaitForSingleObject Pin
Code-o-mat28-Sep-11 4:37
Code-o-mat28-Sep-11 4:37 
GeneralRe: WaitForSingleObject Pin
Albert Holguin29-Sep-11 3:37
professionalAlbert Holguin29-Sep-11 3:37 
GeneralRe: WaitForSingleObject Pin
Code-o-mat29-Sep-11 3:40
Code-o-mat29-Sep-11 3:40 
AnswerRe: WaitForSingleObject Pin
Roger Stoltz28-Sep-11 21:18
Roger Stoltz28-Sep-11 21:18 
AnswerRe: WaitForSingleObject Pin
Albert Holguin29-Sep-11 3:42
professionalAlbert Holguin29-Sep-11 3:42 
If I had to guess, as someone already stated, g_hThreadHandlePush may not be the actual thread handle that you're expecting. To follow up on that, I hate to see people wait on something for an INFINITE time span. I know some disagree, but imagine if someone works on your code years later when you're not around and removes (for example) the m_bStopPushThread variable... they would end up with a freeze and it would be very hard to pinpoint where the freeze is occurring (debugging in multithreaded applications gets complex). I think you're better off setting a reasonable timeout, then alerting as to what occurred (using trace statements, message box, whatever).
QuestionCRichEditCtrl Flickring Pin
john563227-Sep-11 19:43
john563227-Sep-11 19:43 
AnswerRe: CRichEditCtrl Flickring Pin
Madhu Nair27-Sep-11 20:33
Madhu Nair27-Sep-11 20:33 
AnswerRe: CRichEditCtrl Flickring Pin
Software_Developer27-Sep-11 20:37
Software_Developer27-Sep-11 20:37 
AnswerRe: CRichEditCtrl Flickring Pin
Code-o-mat27-Sep-11 22:02
Code-o-mat27-Sep-11 22:02 
GeneralRe: CRichEditCtrl Flickring Pin
john563227-Sep-11 22:23
john563227-Sep-11 22:23 
QuestionMS TR1 Regex Pin
TenFiftyTwo27-Sep-11 12:54
TenFiftyTwo27-Sep-11 12:54 
QuestionRe: MS TR1 Regex Pin
David Crow27-Sep-11 15:48
David Crow27-Sep-11 15:48 
AnswerRe: MS TR1 Regex Pin
Peter_in_278027-Sep-11 16:17
professionalPeter_in_278027-Sep-11 16:17 
AnswerRe: MS TR1 Regex Pin
TenFiftyTwo27-Sep-11 23:11
TenFiftyTwo27-Sep-11 23:11 
QuestionRe: MS TR1 Regex Pin
David Crow28-Sep-11 2:22
David Crow28-Sep-11 2:22 
AnswerRe: MS TR1 Regex Pin
TenFiftyTwo28-Sep-11 3:22
TenFiftyTwo28-Sep-11 3:22 
AnswerRe: MS TR1 Regex Pin
Peter_in_278027-Sep-11 16:20
professionalPeter_in_278027-Sep-11 16:20 
QuestionDumb Question - Build Large CString Pin
jkirkerx27-Sep-11 9:23
professionaljkirkerx27-Sep-11 9:23 
AnswerRe: Dumb Question - Build Large CString Pin
TheGreatAndPowerfulOz27-Sep-11 9:53
TheGreatAndPowerfulOz27-Sep-11 9:53 
AnswerRe: Dumb Question - Build Large CString Pin
Albert Holguin27-Sep-11 9:54
professionalAlbert Holguin27-Sep-11 9:54 
GeneralRe: Dumb Question - Build Large CString Pin
Chuck O'Toole27-Sep-11 10:07
Chuck O'Toole27-Sep-11 10:07 
GeneralRe: Dumb Question - Build Large CString Pin
TheGreatAndPowerfulOz27-Sep-11 10:10
TheGreatAndPowerfulOz27-Sep-11 10:10 

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.