Help!
I have create Dialog Application with MS VC++.
I have added a new Dialog (CHelp) resourse which contains a text box. The dialog is invoked from the main menu bar.
I have mapped the textbox to a member variable of CHelp.
I have added a member function to CHelp which takes a string and displays it in the text box. However, when this function is invoked i get "DEBUG Assertion Error" If I change the active configuration to release, then nothing is displayed.
Whats wrong?
Code:Code..... CDialog Class (Main app class) void CCadFTPDlg::OnHelp() { CHelp help; help.loadHelpText(); help.DoModal(); } //---------------------- CHelp : public CDialog Class... void CHelp::loadHelpText(CString str) { m_helptext.SetWindowText(str); }



LinkBack URL
About LinkBacks


