Click here to Skip to main content
15,893,663 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: manipulating windows / changing checkmarks, sliders Pin
Naveen27-May-07 14:39
Naveen27-May-07 14:39 
QuestionRe: manipulating windows / changing checkmarks, sliders Pin
Johpoke27-May-07 23:11
Johpoke27-May-07 23:11 
QuestionMFC to C++(Borland) Pin
Software_Specialist27-May-07 10:06
Software_Specialist27-May-07 10:06 
AnswerRe: MFC to C++(Borland) Pin
Christian Graus27-May-07 12:12
protectorChristian Graus27-May-07 12:12 
QuestionCreating TabStop Property Pin
İsmail Durmaz27-May-07 10:06
İsmail Durmaz27-May-07 10:06 
AnswerRe: Creating TabStop Property Pin
Naveen27-May-07 14:17
Naveen27-May-07 14:17 
GeneralRe: Creating TabStop Property Pin
İsmail Durmaz28-May-07 3:39
İsmail Durmaz28-May-07 3:39 
QuestionAfxGetApp NULL pointer issue Pin
Abyss27-May-07 7:27
Abyss27-May-07 7:27 
In Test.exe module the application class CTestApp was derived from CWinApp. Everything worked fine. Then I decided to move some common stuff from CTestApp to CCommonApp. This CCommonApp is defined in Util.dll module. Now CTestApp is derived from CCommonApp which is derived from CWinApp.

The contructor of CTestApp is called properly and all its parent contructors. However the application crashes right after this, because the AfxGetApp returns NULL in MFC core and can't call InitApplication method.

Any idea what can be the problem?

Thanks, Abyss
AnswerRe: AfxGetApp NULL pointer issue Pin
Mark Salsbery27-May-07 9:38
Mark Salsbery27-May-07 9:38 
GeneralRe: AfxGetApp NULL pointer issue Pin
Abyss27-May-07 10:00
Abyss27-May-07 10:00 
GeneralRe: AfxGetApp NULL pointer issue Pin
Mark Salsbery27-May-07 10:32
Mark Salsbery27-May-07 10:32 
GeneralRe: AfxGetApp NULL pointer issue Pin
Abyss27-May-07 18:48
Abyss27-May-07 18:48 
GeneralRe: AfxGetApp NULL pointer issue Pin
Abyss27-May-07 20:15
Abyss27-May-07 20:15 
GeneralRe: AfxGetApp NULL pointer issue Pin
Mark Salsbery28-May-07 6:10
Mark Salsbery28-May-07 6:10 
QuestionCallback help needed Pin
Thomas Andersen27-May-07 5:44
Thomas Andersen27-May-07 5:44 
AnswerRe: Callback help needed [modified] Pin
Richard Andrew x6427-May-07 7:24
professionalRichard Andrew x6427-May-07 7:24 
Questionvector::erase() Pin
C_Zealot27-May-07 1:02
C_Zealot27-May-07 1:02 
AnswerRe: vector::erase() Pin
Cedric Moonen27-May-07 1:16
Cedric Moonen27-May-07 1:16 
GeneralRe: vector::erase() Pin
C_Zealot27-May-07 1:21
C_Zealot27-May-07 1:21 
AnswerRe: vector::erase() Pin
Garth J Lancaster27-May-07 1:28
professionalGarth J Lancaster27-May-07 1:28 
GeneralRe: vector::erase() Pin
C_Zealot27-May-07 1:30
C_Zealot27-May-07 1:30 
Questionhow to call a dialog in DLL containing Active X - Date Time Picker Pin
prashant pissey27-May-07 0:37
prashant pissey27-May-07 0:37 
AnswerRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
Naveen27-May-07 14:19
Naveen27-May-07 14:19 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
prashant pissey27-May-07 17:37
prashant pissey27-May-07 17:37 
GeneralRe: how to call a dialog in DLL containing Active X - Date Time Picker Pin
Naveen27-May-07 17:50
Naveen27-May-07 17:50 

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.