关于debug assertion failed求助.
小弟编的mfc dll编译通过了,在ug(一个cad软件)下运行后出现断言报错....
Debug Assertion Failed!
Program:C:\Program Files\EDS\Unigraphics NX 2.0\UGII\ugraf.exe
File:wincore.cpp
LineL:991
For information on how your program can cause an assertion failure,see the Visual C++
documentation on asserts.
(Press Retry to debug the application)
abort retry ignore
问题点数:20、回复次数:8Top
1 楼lan_yanjing(露寒)回复于 2006-07-03 09:50:09 得分 0
什么调试环境?不是VC6吧,我的wincore.cpp的991行根本没断言
自己去找wincore.cpp看看991行是什么东西,在前面加个断点,看看运行到那里有什么问题Top
2 楼tomcindy()回复于 2006-07-03 09:56:11 得分 0
谢谢楼上的.
wincore.cpp
991行是
#ifdef _DEBUG
ASSERT(pMap->LookupPermanent(hWndOrig) == NULL);
#endifTop
3 楼tomcindy()回复于 2006-07-03 10:16:15 得分 0
高手帮忙啊Top
4 楼fisker0303(天塌了,地陷了,小花狗不见了.)回复于 2006-07-03 10:58:40 得分 10
什么窗口关闭的时候没有释放。Top
5 楼tomcindy()回复于 2006-07-03 11:07:54 得分 0
关闭窗口需要释放么???怎么释放/...谢谢Top
6 楼lxpws(你被耍了)回复于 2006-07-03 11:37:09 得分 10
查看一下调用堆栈,是你写的哪一句代码引起了这个断言?Top
7 楼tomcindy()回复于 2006-07-03 12:38:17 得分 0
:(
各位高手,小弟是初学,听起来有点......
能不能稍微介绍下如何查看???
谢!Top
8 楼tomcindy()回复于 2006-07-04 09:34:10 得分 0
自己顶顶,求高手助我Top




