Click here to Skip to main content
15,889,266 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: code path for DoModal Pin
Victor Nijegorodov17-Apr-16 6:58
Victor Nijegorodov17-Apr-16 6:58 
GeneralRe: code path for DoModal Pin
ForNow17-Apr-16 7:07
ForNow17-Apr-16 7:07 
GeneralRe: code path for DoModal Pin
leon de boer17-Apr-16 7:54
leon de boer17-Apr-16 7:54 
QuestionRe: code path for DoModal Pin
David Crow18-Apr-16 4:04
David Crow18-Apr-16 4:04 
AnswerRe: code path for DoModal Pin
leon de boer18-Apr-16 4:20
leon de boer18-Apr-16 4:20 
GeneralRe: code path for DoModal Pin
David Crow18-Apr-16 12:06
David Crow18-Apr-16 12:06 
QuestionWaitForSingleObject not signaled Pin
ForNow14-Apr-16 15:54
ForNow14-Apr-16 15:54 
AnswerRe: WaitForSingleObject not signaled Pin
leon de boer15-Apr-16 4:57
leon de boer15-Apr-16 4:57 
WaitForSingleObject will suspend the entire thread it's running in Smile | :)

So your OnSend and OnConnect code better not be on that thread or they will never be called which is what you are saying !!!!!!!

It's called a deadlock the only thing that can release the WaitForSingleObject is an event that will never be sent because the detecting code to create the event will never run.

Sounds to me like you need to get out a pen and paper again and work out the logic of the threads.
In vino veritas

GeneralRe: WaitForSingleObject not signaled/Do CAsyncSockets notifications happen anywhere but in the main thread Pin
ForNow15-Apr-16 6:34
ForNow15-Apr-16 6:34 
AnswerRe: WaitForSingleObject not signaled My apologies Pin
ForNow16-Apr-16 15:36
ForNow16-Apr-16 15:36 
GeneralRe: WaitForSingleObject not signaled My apologies Pin
leon de boer16-Apr-16 18:10
leon de boer16-Apr-16 18:10 
GeneralRe: WaitForSingleObject not signaled My apologies Pin
ForNow17-Apr-16 6:14
ForNow17-Apr-16 6:14 
QuestionMFC problem with CMFCVisualManager::SetDefaultManager Pin
jung-kreidler13-Apr-16 4:27
jung-kreidler13-Apr-16 4:27 
QuestionMFC : Not able to populate db records in list control of MFC SDI application Pin
catchy8713-Apr-16 0:58
catchy8713-Apr-16 0:58 
AnswerRe: MFC : Not able to populate db records in list control of MFC SDI application Pin
Jochen Arndt13-Apr-16 1:36
professionalJochen Arndt13-Apr-16 1:36 
QuestionDifference between Compiled and Interpreted language Pin
Mur250110-Apr-16 3:42
Mur250110-Apr-16 3:42 
AnswerRe: Difference between Compiled and Interpreted language Pin
Richard MacCutchan10-Apr-16 4:33
mveRichard MacCutchan10-Apr-16 4:33 
AnswerRe: Difference between Compiled and Interpreted language Pin
Albert Holguin10-Apr-16 15:20
professionalAlbert Holguin10-Apr-16 15:20 
AnswerRe: Difference between Compiled and Interpreted language Pin
W Balboos, GHB11-Apr-16 5:39
W Balboos, GHB11-Apr-16 5:39 
Questionis Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Mur25017-Apr-16 5:39
Mur25017-Apr-16 5:39 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Richard MacCutchan7-Apr-16 7:32
mveRichard MacCutchan7-Apr-16 7:32 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
leon de boer7-Apr-16 16:41
leon de boer7-Apr-16 16:41 
GeneralRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Mur25018-Apr-16 6:35
Mur25018-Apr-16 6:35 
AnswerRe: is Let Us C by Yashavant Kanetkar a good resource or a bad. Pin
Bram van Kampen28-Apr-16 13:39
Bram van Kampen28-Apr-16 13:39 
QuestionERROR: undefined reference to 'auxDIBImaheLoadA' Pin
Ratul Thakur7-Apr-16 5:03
Ratul Thakur7-Apr-16 5:03 

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.