i finally got my program up and running, but i get a debug assertion failure in one of my functions:
it fails when it makes the call toCode:void CSignGUIDlg::OnSign() { m_Edit.GetWindowText(m_Get); //fails on this line m_Size = m_Edit.GetWindowTextLength(); m_Data = new BYTE[m_Size]; for (int i = 0; i<m_Size; i++) { m_Data[i] = m_Get[i]; } }in wincore.cppCode:ASSERT(::IsWindow(m_hWnd));
i take it there's something that i'm doing wrong? m_Edit is defined as a CEdit type, and m_Get is a CString type. it fails all the time, whether i have text in my box or not.



LinkBack URL
About LinkBacks


