+ -
当前位置:首页 → 问答吧 → 程序在关闭的时候说内存错误,这个怎么检查?

程序在关闭的时候说内存错误,这个怎么检查?

时间:2011-11-27

来源:互联网

这个应该不是内存泄漏吧。

作者: Natuly   发布时间: 2011-11-27

调试运行 看看Call Stack 估计是使用了野指针 或是 窗口已销毁了 还在调用窗口的操作

作者: heksn   发布时间: 2011-11-27

Debug 然后出错后选 重试

作者: sb3day   发布时间: 2011-11-27

错误指向了\vc98\INCLUDE\COMIP.H的662行

private:
// The Interface.
//
Interface* m_pInterface;

// Releases only if the interface is not null.
// The interface is not set to NULL.
//
void _Release() throw()
{
if (m_pInterface != NULL) {
-----> m_pInterface->Release();
}
}

什么意思?

作者: Natuly   发布时间: 2011-11-27

_com_ptr_t<_com_IIID<MSXML::IXMLDOMNodeList,&_GUID_2933bf82_7b36_11d2_b20e_00c04f983e60> >::_Release() line 662 + 10 bytes

什么意思?

作者: Natuly   发布时间: 2011-11-27