i finally got my program up and running, but i get a debug assertion failure in one of my functions:
Code:
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];
}
}
it fails when it makes the call to
Code:
ASSERT(::IsWindow(m_hWnd));
in wincore.cpp
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.