调试出现Debug Assertion Failed!和Detected memory leaks!怎么回事
调试输出如下:
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\dlgcore.cpp(971) : AppMsg - ERROR: Dialog with IDD 0x0136 must have the child style.
Debug Assertion Failed!
Program: C:\Windows\system32\mfc140ud.dll
File: f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\bardlg.cpp
Line: 39
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
线程 0x1f68 已退出,返回值为 3 (0x3)。
线程 0x181c 已退出,返回值为 3 (0x3)。
线程 0x1ab8 已退出,返回值为 3 (0x3)。
线程 0x17d4 已退出,返回值为 3 (0x3)。
Detected memory leaks!
Dumping objects ->
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {6228} normal block at 0x00280B98, 168 bytes long.
Data: < F \) > 00 00 00 00 CD CD CD CD 46 00 00 00 B0 5C 29 00
{6227} normal block at 0x0027D2B8, 68 bytes long.
Data: < > 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\afxstatusbar.cpp(520) : {5889} normal block at 0x00289550, 6 bytes long.
Data: <1\ ~ > 31 5C EA 7E 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {5750} normal block at 0x002B14C0, 128 bytes long.
Data: < > 00 00 00 00 CD CD CD CD 00 00 00 00 00 00 00 00
f:\dd\vctools\vc7libs\ship\atlmfc\src\mfc\plex.cpp(29) : {5741} normal block at 0x002B1200, 128 bytes long.
Data: <P + + + > 50 11 2B 00 CD CD CD CD 14 12 2B 00 C4 11 2B 00 。。。。。。。。。
求解决