Hi there,
I'm a beginner and am woking on an MFC application, starting from one Dialog I want to create another dialog in whitch I want to display a data in an edit box. But I can never do it because as soos as I call the new cerated Dialog I hav an assert fail.
this is the code:
CAddItem dlgAddItem(
this);
dlgAddItem.m_Label.SetWindowText(_T(
"Disconnected"));// here I have the assert
intnRetCode = dlgAddItem.DoModal();
Thank you for your help