Click here to Skip to main content
15,879,535 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionLButtonDown Event on Button Pin
sharanu14-May-11 22:00
sharanu14-May-11 22:00 
AnswerRe: LButtonDown Event on Button Pin
Hans Dietrich14-May-11 22:53
mentorHans Dietrich14-May-11 22:53 
Questionadd menu item Pin
john563214-May-11 16:05
john563214-May-11 16:05 
QuestionRe: add menu item Pin
Mark Salsbery14-May-11 16:20
Mark Salsbery14-May-11 16:20 
AnswerRe: add menu item Pin
Richard MacCutchan14-May-11 21:23
mveRichard MacCutchan14-May-11 21:23 
AnswerRe: add menu item Pin
Alain Rist14-May-11 22:02
Alain Rist14-May-11 22:02 
QuestionWho calls main() Pin
Pranit Kothari13-May-11 22:53
Pranit Kothari13-May-11 22:53 
AnswerRe: Who calls main() Pin
Paul Michalik14-May-11 0:42
Paul Michalik14-May-11 0:42 
This question can only be answered by looking at a specific OS. In general the OS starts the respective runtime which in turn calls into main after doing some initialization work. If you want to know the exact call stack for YOUR system, just hold on in the properly configured debugger at some point of the program and trace back to the roots... Use breakpoints on visible global objects with non-trivial constructors to see what's happening before the program enters main. At least on Windows you will be able to trace back the runtime-code as well.

Cheers,

Paul
AnswerRe: Who calls main() Pin
Luc Pattyn14-May-11 2:42
sitebuilderLuc Pattyn14-May-11 2:42 
GeneralRe: Who calls main() Pin
Richard MacCutchan14-May-11 2:58
mveRichard MacCutchan14-May-11 2:58 
GeneralRe: Who calls main() Pin
Luc Pattyn14-May-11 3:12
sitebuilderLuc Pattyn14-May-11 3:12 
AnswerRe: Who calls main() Pin
bob1697214-May-11 3:21
bob1697214-May-11 3:21 
QuestionBasic C++ String Question Pin
AmbiguousName13-May-11 19:45
AmbiguousName13-May-11 19:45 
AnswerRe: Basic C++ String Question Pin
Graham Breach13-May-11 20:49
Graham Breach13-May-11 20:49 
GeneralRe: Basic C++ String Question Pin
Stefan_Lang16-May-11 3:15
Stefan_Lang16-May-11 3:15 
GeneralRe: Basic C++ String Question Pin
Craig Longman18-May-11 5:56
Craig Longman18-May-11 5:56 
GeneralRe: Basic C++ String Question Pin
Stefan_Lang18-May-11 6:05
Stefan_Lang18-May-11 6:05 
AnswerRe: Basic C++ String Question Pin
Stefan_Lang16-May-11 3:30
Stefan_Lang16-May-11 3:30 
QuestionHow create a GUI to allow screen capture? Pin
Member 296547113-May-11 11:29
Member 296547113-May-11 11:29 
QuestionRe: How create a GUI to allow screen capture? Pin
Albert Holguin13-May-11 11:48
professionalAlbert Holguin13-May-11 11:48 
AnswerRe: How create a GUI to allow screen capture? Pin
Member 296547113-May-11 12:06
Member 296547113-May-11 12:06 
QuestionRe: How create a GUI to allow screen capture? Pin
Mark Salsbery13-May-11 12:57
Mark Salsbery13-May-11 12:57 
AnswerRe: How create a GUI to allow screen capture? Pin
Member 296547113-May-11 13:43
Member 296547113-May-11 13:43 
GeneralRe: How create a GUI to allow screen capture? Pin
Amarnath S13-May-11 17:00
professionalAmarnath S13-May-11 17:00 
GeneralRe: How create a GUI to allow screen capture? Pin
Member 296547114-May-11 2:55
Member 296547114-May-11 2:55 

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.