|
I created a new CRecordset class, then added a member variable of the CRecordset class to the Dlg class, added the CRecordset.h header file, and then I added a few CEdit classes to the dialog box, and the member variables are associated with the members in m_pSet Up, I found that something went wrong during the operation. It seems that the error is what dbview is, and the dialog box does not appear.
Statement stopped
void AFXAPI AfxAssertValidObject (const CObject * pOb,
LPCSTR lpszFileName, int nLine)
{
if (pOb == NULL)
{
TRACE0 ("ASSERT_VALID fails with NULL pointer.\n");
if (AfxAssertFailedLine (lpszFileName, nLine))
AfxDebugBreak ();
return; // quick escape
}
if (! AfxIsValidAddress (pOb, sizeof (CObject)))
{
TRACE0 ("ASSERT_VALID fails with illegal pointer.\n");
Stop position if (AfxAssertFailedLine (lpszFileName, nLine))
AfxDebugBreak ();
return; // quick escape
}
Is it a problem like this, people who know say |
|