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

C / C++ / MFC

 
GeneralRe: Help Needed Controlling other application using VC++ Pin
Ram Murali6-Nov-09 22:47
Ram Murali6-Nov-09 22:47 
GeneralRe: Help Needed Controlling other application using VC++ Pin
Richard MacCutchan6-Nov-09 22:50
mveRichard MacCutchan6-Nov-09 22:50 
GeneralRe: Help Needed Controlling other application using VC++ Pin
Ram Murali6-Nov-09 22:57
Ram Murali6-Nov-09 22:57 
GeneralRe: Help Needed Controlling other application using VC++ Pin
David Crow7-Nov-09 10:16
David Crow7-Nov-09 10:16 
AnswerRe: Help Needed Controlling other application using VC++ Pin
Kushagra Tiwari7-Nov-09 0:12
Kushagra Tiwari7-Nov-09 0:12 
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 

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.