CChildFrame::Create()出错是因为什么?
jyl28 2004-09-16 03:27:08 BOOL CChildFrame::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CMDIFrameWnd* pParentWnd, CCreateContext* pContext)
{
// TODO: Add your specialized code here and/or call the base class
m_pMainFrame=theApp.m_pCurMainFrame;
return CMDIChildWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, (CMDIFrameWnd *)theApp.m_pCurMainFrame, pContext);
}
执行到return语句时出现ASSERT错误,是因为什么?