Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Compiler Question: Use of MFC : Use Standard Windows Libraries Pin
DeepT19-Jun-12 4:20
DeepT19-Jun-12 4:20 
GeneralRe: Compiler Question: Use of MFC : Use Standard Windows Libraries Pin
Richard MacCutchan19-Jun-12 4:32
mveRichard MacCutchan19-Jun-12 4:32 
QuestionDebugger issue Pin
Julio Cesar Nardelli Borges18-Jun-12 8:53
Julio Cesar Nardelli Borges18-Jun-12 8:53 
AnswerRe: Debugger issue Pin
Richard MacCutchan18-Jun-12 9:03
mveRichard MacCutchan18-Jun-12 9:03 
AnswerRe: Debugger issue Pin
Rajesh R Subramanian18-Jun-12 19:03
professionalRajesh R Subramanian18-Jun-12 19:03 
QuestionDisabling External Dependencies in VS2010 Pin
AmbiguousName18-Jun-12 0:01
AmbiguousName18-Jun-12 0:01 
AnswerRe: Disabling External Dependencies in VS2010 Pin
Maximilien18-Jun-12 0:42
Maximilien18-Jun-12 0:42 
AnswerRe: Disabling External Dependencies in VS2010 Pin
AmbiguousName18-Jun-12 0:59
AmbiguousName18-Jun-12 0:59 
AnswerRe: Disabling External Dependencies in VS2010 Pin
Richard MacCutchan18-Jun-12 1:32
mveRichard MacCutchan18-Jun-12 1:32 
AnswerRe: Disabling External Dependencies in VS2010 Pin
AmbiguousName18-Jun-12 1:37
AmbiguousName18-Jun-12 1:37 
GeneralRe: Disabling External Dependencies in VS2010 Pin
Richard MacCutchan18-Jun-12 2:01
mveRichard MacCutchan18-Jun-12 2:01 
AnswerRe: Disabling External Dependencies in VS2010 Pin
Luc Pattyn18-Jun-12 7:17
sitebuilderLuc Pattyn18-Jun-12 7:17 
QuestionSwitch off Debug Assertions Pin
mackel9017-Jun-12 10:02
mackel9017-Jun-12 10:02 
AnswerRe: Switch off Debug Assertions Pin
Richard Andrew x6417-Jun-12 11:44
professionalRichard Andrew x6417-Jun-12 11:44 
GeneralRe: Switch off Debug Assertions PinPopular
Erudite_Eric17-Jun-12 20:39
Erudite_Eric17-Jun-12 20:39 
GeneralRe: Switch off Debug Assertions Pin
Richard Andrew x6418-Jun-12 5:38
professionalRichard Andrew x6418-Jun-12 5:38 
GeneralRe: Switch off Debug Assertions Pin
Erudite_Eric18-Jun-12 11:42
Erudite_Eric18-Jun-12 11:42 
GeneralRe: Switch off Debug Assertions Pin
Richard MacCutchan17-Jun-12 22:18
mveRichard MacCutchan17-Jun-12 22:18 
AnswerRe: Switch off Debug Assertions Pin
jschell17-Jun-12 13:05
jschell17-Jun-12 13:05 
AnswerRe: Switch off Debug Assertions Pin
Chuck O'Toole17-Jun-12 14:36
Chuck O'Toole17-Jun-12 14:36 
AnswerRe: Switch off Debug Assertions Pin
Philippe Mori17-Jun-12 15:59
Philippe Mori17-Jun-12 15:59 
AnswerRe: Switch off Debug Assertions Pin
Erudite_Eric17-Jun-12 20:38
Erudite_Eric17-Jun-12 20:38 
AnswerRe: Switch off Debug Assertions Pin
AmbiguousName18-Jun-12 0:23
AmbiguousName18-Jun-12 0:23 
Take my opinion as a pointer, not a definite answer.

Most likely you are doing something with one of your controls when it is not loaded/initialized yet. For example, say you have a dialogbox named CMainDlg. Now If you try to set text of an editbox in CMainDlg's constructor like this

CMainDlg::CMainDlg(CWnd* pParent /*=NULL*/): CDialogEx(CAccountDlg::IDD, pParent)
{
   GetDlgItem(IDC_TEXT1)->SetWindowText("Debug Assertion");
}

then a debug assertion will be shown. A better way will be do this in OnInitDialog like this (or in an event handler, bound with a button)
BOOL CMainDlg::OnInitDialog()
{
   GetDlgItem(IDC_TEXT1)->SetWindowText(" No Debug Assertion");

   // some other stuff
}

So out and out, you are doing a right thing in a wrong way. Hope you understand what I mean Smile | :)

This world is going to explode due to international politics, SOON.

AnswerRe: Switch off Debug Assertions Pin
David Crow18-Jun-12 8:18
David Crow18-Jun-12 8:18 
AnswerRe: Switch off Debug Assertions Pin
jkirkerx18-Jun-12 10:37
professionaljkirkerx18-Jun-12 10:37 

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.