Click here to Skip to main content
15,913,215 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to close previous form in Dialog based program Pin
Demian Panello26-May-07 14:47
Demian Panello26-May-07 14:47 
QuestionThread blocking Pin
mehrdadov26-May-07 0:12
mehrdadov26-May-07 0:12 
AnswerRe: Thread blocking Pin
Taka Muraoka26-May-07 1:09
Taka Muraoka26-May-07 1:09 
GeneralRe: Thread blocking Pin
mehrdadov26-May-07 2:08
mehrdadov26-May-07 2:08 
GeneralRe: Thread blocking Pin
Taka Muraoka26-May-07 2:22
Taka Muraoka26-May-07 2:22 
AnswerRe: Thread blocking Pin
Arman S.26-May-07 1:31
Arman S.26-May-07 1:31 
GeneralRe: Thread blocking Pin
mehrdadov26-May-07 2:12
mehrdadov26-May-07 2:12 
GeneralRe: Thread blocking Pin
Mark Salsbery26-May-07 6:23
Mark Salsbery26-May-07 6:23 
As Taka mentioned, break the execution when you think a thread is deadlocked.
In the Debug/Threads window, double click on each of your app's threads. That sets the debugger's
focus to that thread and brings the source code up with the current execution pointer shown.
If it's pointing at a wait function, it's probably stopped right there. If a dialog pops up
stating there's no source code available then look at the stack trace and go back to the nearest
line of code you find that is in your source code. That will be the current call in progress
on that thread.

Mark




"Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

Questionvector and map Pin
C_Zealot25-May-07 23:53
C_Zealot25-May-07 23:53 
AnswerSolution found but still buggy. Pin
C_Zealot26-May-07 0:28
C_Zealot26-May-07 0:28 
GeneralRe: Solution found but still buggy. Pin
Taka Muraoka26-May-07 1:11
Taka Muraoka26-May-07 1:11 
GeneralRe: Solution found but still buggy. Pin
C_Zealot26-May-07 1:15
C_Zealot26-May-07 1:15 
Questionpls help me Pin
deeps_cute25-May-07 22:18
deeps_cute25-May-07 22:18 
AnswerRe: pls help me Pin
Hans Dietrich26-May-07 15:01
mentorHans Dietrich26-May-07 15:01 
AnswerRe: pls help me Pin
Michael Dunn26-May-07 20:49
sitebuilderMichael Dunn26-May-07 20:49 
Question860305 - Alt+Tab in Emulator Pin
ilostmyid225-May-07 21:18
professionalilostmyid225-May-07 21:18 
QuestionProblem with pointer Pin
zeus200025-May-07 18:58
zeus200025-May-07 18:58 
AnswerRe: Problem with pointer Pin
Michael Dunn25-May-07 21:26
sitebuilderMichael Dunn25-May-07 21:26 
AnswerRe: Problem with pointer Pin
CPallini25-May-07 22:15
mveCPallini25-May-07 22:15 
AnswerRe: Problem with pointer Pin
zeus200027-May-07 0:02
zeus200027-May-07 0:02 
GeneralRe: Problem with pointer Pin
Niklas L28-May-07 0:26
Niklas L28-May-07 0:26 
QuestionQuestion regarding Directshow and custom video capture Pin
godspeed12325-May-07 15:32
godspeed12325-May-07 15:32 
AnswerRe: Question regarding Directshow and custom video capture Pin
Mark Salsbery26-May-07 6:33
Mark Salsbery26-May-07 6:33 
QuestionAfxMessageBox stop working after split the frame Pin
gurucplusplus25-May-07 14:01
gurucplusplus25-May-07 14:01 
AnswerRe: AfxMessageBox stop working after split the frame Pin
Demian Panello25-May-07 15:31
Demian Panello25-May-07 15:31 

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.