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

C / C++ / MFC

 
QuestionSendMessage??? Pin
_skidrow_vn_13-Aug-03 2:24
_skidrow_vn_13-Aug-03 2:24 
AnswerRe: SendMessage??? Pin
Florin Ochiana13-Aug-03 3:39
Florin Ochiana13-Aug-03 3:39 
GeneralRe: SendMessage??? Pin
jhwurmbach13-Aug-03 3:55
jhwurmbach13-Aug-03 3:55 
AnswerRe: SendMessage??? Pin
Navin13-Aug-03 3:44
Navin13-Aug-03 3:44 
Generalinitialization of code in CWinApp Pin
pdunn13-Aug-03 1:32
pdunn13-Aug-03 1:32 
GeneralRe: initialization of code in CWinApp Pin
jhwurmbach13-Aug-03 2:34
jhwurmbach13-Aug-03 2:34 
GeneralRe: initialization of code in CWinApp Pin
pdunn13-Aug-03 2:58
pdunn13-Aug-03 2:58 
GeneralRe: initialization of code in CWinApp Pin
jhwurmbach13-Aug-03 3:29
jhwurmbach13-Aug-03 3:29 
pdunn wrote:
The CWinApp constructor is called before the CWinApp::InitInstance().
That is the way it is meant to be.

pdunn wrote:
CMyWinApp constructor is blank like the new mdi.
Good! Only some member variable initialisations belong there.

pdunn wrote:
I nor MFC ever calls CWinApp(), but it does execute.
It is called while instantiating the one global instance of your application.
Look for the line CYourApp NEAR theApp; in your apps header.

pdunn wrote:
Now I need to know why is part of the code in that method is being skipped.
Place a breakpoint on your line CYourApp NEAR theApp; line.
Place another breakpoint on the first line of your InitInstance().
'F11' should take you right to the beginning of your (empty, as you said) app constructor.
Hitting 'F5' brings you to the breakpoint at the beginning of the InitInstance().

Where does your error come up?


BTW - You did a clean rebuild of your application?


Who is 'General Failure'? And why is he reading my harddisk?!?
GeneralRe: initialization of code in CWinApp Pin
pdunn14-Aug-03 4:22
pdunn14-Aug-03 4:22 
GeneralRe: initialization of code in CWinApp Pin
jhwurmbach14-Aug-03 4:38
jhwurmbach14-Aug-03 4:38 
GeneralNetwork Discovery & Remote execute Pin
maranv13-Aug-03 0:06
maranv13-Aug-03 0:06 
GeneralRe: Network Discovery & Remote execute Pin
Steve S13-Aug-03 0:10
Steve S13-Aug-03 0:10 
GeneralRe: Network Discovery & Remote execute Pin
maranv17-Aug-03 16:05
maranv17-Aug-03 16:05 
GeneralRe: Network Discovery & Remote execute Pin
David Crow13-Aug-03 5:40
David Crow13-Aug-03 5:40 
GeneralStandalone in place CEdit - Thanks to all Pin
Neville Franks12-Aug-03 23:43
Neville Franks12-Aug-03 23:43 
GeneralRe: Standalone in place CEdit - Thanks to all Pin
jhwurmbach13-Aug-03 2:31
jhwurmbach13-Aug-03 2:31 
GeneralRe: Standalone in place CEdit - Thanks to all Pin
Neville Franks13-Aug-03 6:35
Neville Franks13-Aug-03 6:35 
GeneralSorting Utility Pin
RChin12-Aug-03 23:32
RChin12-Aug-03 23:32 
GeneralNeed more details... Pin
Kochise13-Aug-03 0:23
Kochise13-Aug-03 0:23 
GeneralRe: Need more details... Pin
RChin13-Aug-03 0:31
RChin13-Aug-03 0:31 
GeneralRe: Need more details... Pin
Steve S13-Aug-03 0:43
Steve S13-Aug-03 0:43 
GeneralCreate() function. Pin
Neha12-Aug-03 22:16
Neha12-Aug-03 22:16 
GeneralRe: Create() function. Pin
jhwurmbach13-Aug-03 2:45
jhwurmbach13-Aug-03 2:45 
GeneralSave Image Pin
henli12-Aug-03 21:43
henli12-Aug-03 21:43 
GeneralRefresh problem Pin
Neha12-Aug-03 20:30
Neha12-Aug-03 20:30 

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.