救急啦,我做的一个Dialog程序,居然在(下面的时候)出错了!!!(高手来!!)
ni_ch 2001-07-18 09:46:19 BOOL CTLApp::InitInstance()
{
AfxEnableControlContainer();
#ifdef _AFXDLL
Enable3dControls();
#else
Enable3dControlsStatic(); #endif
CTLDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal(); //提示内存不足,我debug了,发现在CTLDlg dlg 后,dlg 的 hWnd = 0x00000000,m_pMainWnd 的 hWnd = 0x00000000
问题是否出在这呢?