Click here to Skip to main content
15,884,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionArray help in cpp Pin
Pierre-Andre Malborugh6-Nov-09 14:36
Pierre-Andre Malborugh6-Nov-09 14:36 
AnswerRe: Array help in cpp Pin
Hans Dietrich6-Nov-09 15:08
mentorHans Dietrich6-Nov-09 15:08 
QuestionNeed some Help ON DLL Thank You Pin
VB_Crazy6-Nov-09 12:38
VB_Crazy6-Nov-09 12:38 
QuestionMFC Application Scroll bar issue on PDF Viewer Pin
kasi146-Nov-09 11:31
kasi146-Nov-09 11:31 
AnswerRe: MFC Application Scroll bar issue on PDF Viewer Pin
Garth J Lancaster6-Nov-09 13:57
professionalGarth J Lancaster6-Nov-09 13:57 
GeneralRe: MFC Application Scroll bar issue on PDF Viewer Pin
kasi149-Nov-09 6:08
kasi149-Nov-09 6:08 
QuestionBreakpoints in Wincore.cpp Pin
Member 36807856-Nov-09 5:50
Member 36807856-Nov-09 5:50 
AnswerRe: Breakpoints in Wincore.cpp Pin
Rajesh R Subramanian6-Nov-09 6:26
professionalRajesh R Subramanian6-Nov-09 6:26 
I see you're using VS 2008.

I know that when an MFC application initialises, the function AfxGetThread() in thrdcore.cpp will be called. I was able to set a breakpoint on that function, without even opening the file. I chose Debug->New BreakPoint->Break at function-> enter function name as AfxGetThread() and set line and character as 1 each.

When I hit F5, the debugger opened thrdcore.cpp and broke at the beginning of AfxGetThread(). You might want to try it with the function of your interest located in wincore.cpp. The IDE will open the correct file (that it is using), and break at the location of your interest.

You might as well consider using "Advanced breakpoints" (just do a search). Smile | :)


“Follow your bliss.” – Joseph Campbell

AnswerRe: Breakpoints in Wincore.cpp Pin
sashoalm6-Nov-09 6:32
sashoalm6-Nov-09 6:32 
AnswerRe: Breakpoints in Wincore.cpp Pin
Randor 6-Nov-09 7:15
professional Randor 6-Nov-09 7:15 
QuestionCDatabase::OpenEx failure kills UI thread Pin
Gary Wheeler6-Nov-09 5:13
Gary Wheeler6-Nov-09 5:13 
QuestionRe: CDatabase::OpenEx failure kills UI thread Pin
Randor 6-Nov-09 6:25
professional Randor 6-Nov-09 6:25 
AnswerRe: CDatabase::OpenEx failure kills UI thread Pin
Gary Wheeler6-Nov-09 8:35
Gary Wheeler6-Nov-09 8:35 
QuestionRunning task on shutdown Pin
__DanC__6-Nov-09 2:29
__DanC__6-Nov-09 2:29 
AnswerRe: Running task on shutdown Pin
Randor 6-Nov-09 6:08
professional Randor 6-Nov-09 6:08 
GeneralRe: Running task on shutdown Pin
Rajesh R Subramanian6-Nov-09 6:09
professionalRajesh R Subramanian6-Nov-09 6:09 
GeneralRe: Running task on shutdown Pin
__DanC__6-Nov-09 6:18
__DanC__6-Nov-09 6:18 
GeneralRe: Running task on shutdown Pin
Randor 6-Nov-09 6:51
professional Randor 6-Nov-09 6:51 
GeneralRe: Running task on shutdown Pin
__DanC__6-Nov-09 6:53
__DanC__6-Nov-09 6:53 
GeneralRe: Running task on shutdown Pin
Randor 6-Nov-09 7:07
professional Randor 6-Nov-09 7:07 
QuestionCreate Split Window in RightView of SDI Pin
Abinash Mohanty5-Nov-09 23:16
Abinash Mohanty5-Nov-09 23:16 
AnswerRe: Create Split Window in RightView of SDI Pin
Adam Roderick J5-Nov-09 23:22
Adam Roderick J5-Nov-09 23:22 
AnswerRe: Create Split Window in RightView of SDI Pin
jinlsg8-Nov-09 14:15
jinlsg8-Nov-09 14:15 
Questionwhere is my fault? Pin
goutom roy5-Nov-09 23:10
goutom roy5-Nov-09 23:10 
AnswerRe: where is my fault? Pin
Richard MacCutchan6-Nov-09 0:03
mveRichard MacCutchan6-Nov-09 0: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.