16,472
社区成员
发帖
与我相关
我的任务
分享
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dlgcore.cpp(136) : AppMsg - Warning: calling DestroyWindow in CDialog::~CDialog --
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dlgcore.cpp(137) : AppMsg - OnDestroy or PostNcDestroy in derived class will not be called.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp(815) : AppMsg - Warning: calling DestroyWindow in CWnd::~CWnd; OnDestroy or PostNcDestroy in derived class will not be called.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\wincore.cpp(815) : AppMsg - Warning: calling DestroyWindow in CWnd::~CWnd; OnDestroy or PostNcDestroy in derived class will not be called.
0x10340F6C (mfc120ud.dll) (DOCKDLG_DLG.exe 中)处的第一机会异常: 0xC0000005: 读取位置 0x00000001 时发生访问冲突。
0x10340F6C (mfc120ud.dll) (DOCKDLG_DLG.exe 中)处有未经处理的异常: 0xC000041D: 用户回调期间遇到未经处理的异常。。
HEAP[DOCKDLG_DLG.exe]: Invalid address specified to RtlValidateHeap( 011F0000, 0104EFD8 )
DOCKDLG_DLG.exe 已触发了一个断点。
Debug Assertion Failed!
Program: D:\priject\DOCKDLG_DLG\Debug\DOCKDLG_DLG.exe
File: f:\dd\vctools\crt\crtw32\misc\dbgheap.c
Line: 1322
Expression: _CrtIsValidHeapPointer(pUserData)
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
Detected memory leaks!
Dumping objects ->
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\afxvisualmanagerwindows.cpp(35) : {266} client block at 0x01212EB0, subtype c0, 348 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CMFCVisualManagerWindows object at $01212EB0, 348 bytes long
d:\priject\dockdlg_dlg\dockdlg_dlg\dockdlg_dlg.cpp(59) : {166} client block at 0x011F6138, subtype c0, 12 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CObject object at $011F6138, 12 bytes long
{165} client block at 0x01207840, subtype c0, 204 bytes long.
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dumpcont.cpp(23) : atlTraceGeneral - a CObject object at $01207840, 204 bytes long
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\strcore.cpp(156) : {159} normal block at 0x01207610, 90 bytes long.
Data: < $ $ > A0 D7 B4 0F 24 00 00 00 24 00 00 00 01 00 00 00
Object dump complete.
int MainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
if (CFrameWndEx::OnCreate(lpCreateStruct) == -1)
return -1;
// TODO: 在此添加您专用的创建代码
if (!m_MyPane.Create(_T("MyPane"), this, CRect(0, 0, 100, 100), TRUE, IDD_DIALOG_DOCKDLG, WS_CHILD | WS_VISIBLE | DCX_CLIPSIBLINGS | WS_CLIPCHILDREN | CBRS_LEFT | CBRS_FLOAT_MULTI))
{
TRACE0("未能创建输出窗口/n");
return FALSE;
}
//m_MyPane.ShowWindow(SW_SHOW);
m_MyPane.EnableDocking(CBRS_ALIGN_ANY);
DockPane(&m_MyPane);
return 0;
}
if (!m_TestDlg.Create(IDD_DIALOG_DOCKDLG, this))
m_TestDlg.ShowWindow(SW_SHOW);