Click here to Skip to main content
15,906,097 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Runtime DLL calling with any parameters [modified] Pin
hunter1326-Jul-06 0:42
hunter1326-Jul-06 0:42 
GeneralRe: Runtime DLL calling with any parameters Pin
Cedric Moonen26-Jul-06 1:15
Cedric Moonen26-Jul-06 1:15 
QuestionCAsyncSocket ::OnReceive() missed calls Pin
neilsolent25-Jul-06 21:31
neilsolent25-Jul-06 21:31 
AnswerRe: CAsyncSocket ::OnReceive() missed calls Pin
Steve S25-Jul-06 21:52
Steve S25-Jul-06 21:52 
GeneralRe: CAsyncSocket ::OnReceive() missed calls Pin
neilsolent25-Jul-06 22:57
neilsolent25-Jul-06 22:57 
GeneralRe: CAsyncSocket ::OnReceive() missed calls Pin
Moak4-Oct-06 5:09
Moak4-Oct-06 5:09 
GeneralRe: CAsyncSocket ::OnReceive() missed calls Pin
neilsolent5-Oct-06 8:05
neilsolent5-Oct-06 8:05 
QuestionGetVersionOfFile(); Pin
ningthemcha25-Jul-06 21:20
ningthemcha25-Jul-06 21:20 
QuestionRe: GetVersionOfFile(); Pin
see me25-Jul-06 21:28
see me25-Jul-06 21:28 
AnswerRe: GetVersionOfFile(); Pin
NiceNaidu25-Jul-06 21:31
NiceNaidu25-Jul-06 21:31 
GeneralRe: GetVersionOfFile(); Pin
Steve S25-Jul-06 21:45
Steve S25-Jul-06 21:45 
QuestionWhat happens when an Object of CWinApp derived Class is Created in MFC Pin
NiceNaidu25-Jul-06 20:14
NiceNaidu25-Jul-06 20:14 
AnswerRe: What happens when an Object of CWinApp derived Class is Created in MFC Pin
NiceNaidu25-Jul-06 21:33
NiceNaidu25-Jul-06 21:33 
AnswerRe: What happens when an Object of CWinApp derived Class is Created in MFC Pin
NiceNaidu25-Jul-06 21:34
NiceNaidu25-Jul-06 21:34 
GeneralRe: What happens when an Object of CWinApp derived Class is Created in MFC Pin
Steve S25-Jul-06 21:50
Steve S25-Jul-06 21:50 
Patience is a virtue, and virtue brings it's own reward.

When the app is loaded, the constructor is called, which is done before WinMain (from the MFC library, unless you provided your own) is called. Mostly, this will just result in the base constructor(s) being called. Mostly, this just sets some object-specific data, and initialises the various state stuff used by MFC.

WinMain is then responsible for calling the object's InitInstance(), which usually triggers window creation and stuff like that.

Of course, the MFC source is available, which is where I found this.

Steve S
Developer for hire

GeneralRe: What happens when an Object of CWinApp derived Class is Created in MFC Pin
NiceNaidu25-Jul-06 22:46
NiceNaidu25-Jul-06 22:46 
GeneralRe: What happens when an Object of CWinApp derived Class is Created in MFC Pin
Steve S27-Jul-06 1:42
Steve S27-Jul-06 1:42 
QuestionThread?! Pin
tanarnelinistit25-Jul-06 20:02
tanarnelinistit25-Jul-06 20:02 
AnswerRe: Thread?! Pin
Aneesh Valeri25-Jul-06 20:14
Aneesh Valeri25-Jul-06 20:14 
QuestionRe: Thread?! [modified] Pin
tanarnelinistit25-Jul-06 20:20
tanarnelinistit25-Jul-06 20:20 
AnswerRe: Thread?! Pin
Hamid_RT25-Jul-06 20:23
Hamid_RT25-Jul-06 20:23 
AnswerRe: Thread?! Pin
Steve S25-Jul-06 22:14
Steve S25-Jul-06 22:14 
AnswerRe: Thread?! Pin
David Crow27-Jul-06 2:57
David Crow27-Jul-06 2:57 
Question3d max object Pin
ooola rocks25-Jul-06 19:59
ooola rocks25-Jul-06 19:59 
AnswerRe: 3d max object Pin
Hamid_RT25-Jul-06 20:12
Hamid_RT25-Jul-06 20:12 

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.