Click here to Skip to main content
15,896,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerRe: 3d max object Pin
Cedric Moonen25-Jul-06 20:38
Cedric Moonen25-Jul-06 20:38 
AnswerRe: 3d max object Pin
ldsdbomber26-Jul-06 5:20
ldsdbomber26-Jul-06 5:20 
QuestionHow to call Microsoft C# module in the COM component (C++) Pin
chenxiujie25-Jul-06 19:58
chenxiujie25-Jul-06 19:58 
AnswerRe: How to call Microsoft C# module in the COM component (C++) Pin
sudeesh26-Jul-06 2:35
sudeesh26-Jul-06 2:35 
GeneralRe: How to call Microsoft C# module in the COM component (C++) Pin
chenxiujie26-Jul-06 22:31
chenxiujie26-Jul-06 22:31 
GeneralRe: How to call Microsoft C# module in the COM component (C++) Pin
sudeesh26-Jul-06 23:05
sudeesh26-Jul-06 23:05 
GeneralRe: How to call Microsoft C# module in the COM component (C++) Pin
chenxiujie27-Jul-06 16:03
chenxiujie27-Jul-06 16: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.