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

C / C++ / MFC

 
GeneralRe: controlling characters entered into an edit box Pin
Anonymous1-Apr-03 20:42
Anonymous1-Apr-03 20:42 
GeneralRe: controlling characters entered into an edit box Pin
JensB1-Apr-03 23:02
JensB1-Apr-03 23:02 
GeneralRe: controlling characters entered into an edit box Pin
jhwurmbach1-Apr-03 23:11
jhwurmbach1-Apr-03 23:11 
GeneralRe: controlling characters entered into an edit box Pin
jhwurmbach1-Apr-03 23:15
jhwurmbach1-Apr-03 23:15 
GeneralError: Cannot open program database Pin
Ahsan Abbas1-Apr-03 19:10
Ahsan Abbas1-Apr-03 19:10 
GeneralRe: Error: Cannot open program database Pin
peterchen2-Apr-03 6:16
peterchen2-Apr-03 6:16 
GeneralSDI using CApp in other Class.... Pin
Exceter1-Apr-03 18:54
Exceter1-Apr-03 18:54 
GeneralRe: SDI using CApp in other Class.... Pin
Joan M1-Apr-03 19:14
professionalJoan M1-Apr-03 19:14 
there are some things to consider:

1. if you are trying to use the code as you've shown us... the main problem is that App is not initialized when you want to access it...

2. if you are trying to get access to the main application object, then the declaration is not correct:
you should change CStudentApp *App; for extern CStudentApp StudentApp; doing this you'll be accessing the real application object created in OnInitInstance...

3. as the compiler says the try block has no catch... you should catch the exceptions you want to handle... catch(...) for catching all of them.

hope this helps...
GeneralProblem of asterisk's Pin
rohit.dhamija1-Apr-03 18:51
rohit.dhamija1-Apr-03 18:51 
GeneralExchange of values among different classes of same project Pin
summo1-Apr-03 18:50
summo1-Apr-03 18:50 
GeneralRe: Exchange of values among different classes of same project Pin
Woody Green2-Apr-03 3:22
Woody Green2-Apr-03 3:22 
GeneralChange display font setting (dpi) Pin
mijarral1-Apr-03 18:21
mijarral1-Apr-03 18:21 
GeneralRe: Change display font setting (dpi) Pin
Dudi Avramov2-Apr-03 0:54
Dudi Avramov2-Apr-03 0:54 
GeneralRe: Change display font setting (dpi) Pin
mijarral4-Apr-03 16:25
mijarral4-Apr-03 16:25 
GeneralRegistry vs MS Service Pin
rohit.dhamija1-Apr-03 18:01
rohit.dhamija1-Apr-03 18:01 
GeneralRe: Registry vs MS Service Pin
Anders Molin1-Apr-03 22:02
professionalAnders Molin1-Apr-03 22:02 
General“EDIT” window and string storing Pin
sathyashrayan1-Apr-03 17:56
sathyashrayan1-Apr-03 17:56 
GeneralRe: “EDIT” window and string storing Pin
Rickard Andersson201-Apr-03 22:57
Rickard Andersson201-Apr-03 22:57 
GeneralRe: “EDIT” window and string storing Pin
sathyashrayan2-Apr-03 1:19
sathyashrayan2-Apr-03 1:19 
GeneralRe: “EDIT” window and string storing Pin
John R. Shaw2-Apr-03 10:53
John R. Shaw2-Apr-03 10:53 
QuestionCoCreateInstance fail? Pin
Kevein1-Apr-03 17:49
Kevein1-Apr-03 17:49 
AnswerRe: CoCreateInstance fail? Pin
Dave Bryant1-Apr-03 18:12
Dave Bryant1-Apr-03 18:12 
AnswerRe: CoCreateInstance fail? Pin
Aisha Ikram1-Apr-03 19:48
Aisha Ikram1-Apr-03 19:48 
AnswerRe: CoCreateInstance fail? Pin
Kevein2-Apr-03 6:02
Kevein2-Apr-03 6:02 
GeneralRe: CoCreateInstance fail? Pin
Aisha Ikram3-Apr-03 0:20
Aisha Ikram3-Apr-03 0:20 

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.