Click here to Skip to main content
15,569,644 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Debug Assertion Failed! Pin
CPallini7-May-09 22:59
mveCPallini7-May-09 22:59 
GeneralRe: Debug Assertion Failed! Pin
susanne18-May-09 0:16
susanne18-May-09 0:16 
QuestionRe: Debug Assertion Failed! Pin
CPallini8-May-09 0:58
mveCPallini8-May-09 0:58 
AnswerRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 1:41
Hamid_RT8-May-09 1:41 
GeneralRe: Debug Assertion Failed! Pin
CPallini8-May-09 1:48
mveCPallini8-May-09 1:48 
GeneralRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 1:51
Hamid_RT8-May-09 1:51 
AnswerRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 0:20
Hamid_RT8-May-09 0:20 
GeneralRe: Debug Assertion Failed! Pin
susanne18-May-09 1:41
susanne18-May-09 1:41 
in the Test_Doc.cpp file(SDI_Appliction), i use the following code:

void CTest_Doc::OnInputFont()
{
CTestFontDialog sfdlg; // CTestFontDialog is derived from CFontDialog
tfdlg.OnInputFontDialog();
}

and this code is in the OnInputFontDialog()
{
LOGFONT lf;
CFont *pFont = GetFont(); // Fehler
pFont->GetLogFont(&lf);
.........
}
the OnInputFontDialog() is in TestFontDialog.cpp this class is derived from CFontDialog.

How can i see what fail the assertion?
m_hWnd = 0x00000000
maybe this is why?
GeneralRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 1:43
Hamid_RT8-May-09 1:43 
GeneralRe: Debug Assertion Failed! Pin
susanne18-May-09 1:48
susanne18-May-09 1:48 
GeneralRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 1:52
Hamid_RT8-May-09 1:52 
GeneralRe: Debug Assertion Failed! Pin
susanne18-May-09 2:00
susanne18-May-09 2:00 
GeneralRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 2:15
Hamid_RT8-May-09 2:15 
GeneralRe: Debug Assertion Failed! Pin
susanne18-May-09 2:35
susanne18-May-09 2:35 
GeneralRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 3:08
Hamid_RT8-May-09 3:08 
GeneralRe: Debug Assertion Failed! Pin
susanne18-May-09 3:26
susanne18-May-09 3:26 
GeneralRe: Debug Assertion Failed! Pin
Hamid_RT8-May-09 4:43
Hamid_RT8-May-09 4:43 
QuestionRe: Debug Assertion Failed! Pin
David Crow8-May-09 4:18
David Crow8-May-09 4:18 
AnswerRe: Debug Assertion Failed! Pin
susanne18-May-09 4:39
susanne18-May-09 4:39 
QuestionRe: Debug Assertion Failed! Pin
David Crow8-May-09 6:29
David Crow8-May-09 6:29 
AnswerRe: Debug Assertion Failed! Pin
susanne18-May-09 7:00
susanne18-May-09 7:00 
GeneralRe: Debug Assertion Failed! Pin
David Crow8-May-09 10:41
David Crow8-May-09 10:41 
QuestionRe: Debug Assertion Failed! Pin
David Crow8-May-09 4:14
David Crow8-May-09 4:14 
AnswerRe: Debug Assertion Failed! Pin
susanne18-May-09 4:47
susanne18-May-09 4:47 
QuestionRe: Debug Assertion Failed! [modified] Pin
David Crow8-May-09 6:25
David Crow8-May-09 6:25 

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.