现在的位置: 首页 > 综合 > 正文

Debug版本退出出错,cmdtarg.cpp 52行

2013年11月22日 ⁄ 综合 ⁄ 共 619字 ⁄ 字号 评论关闭

今天发现用debug版本编译  退出时出错,检查代码没发现任何问题,查百度 问题也没解决,后来发现问题如下

 

Microsoft 已经确认这是在本文开头列出的 Microsoft 产品中的错误。在 Visual Studio 6.0 为最新服务包中,此缺陷已得到纠正。

有关 Visual Studio 的服务包的其他信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:

194022  信息: Visual Studio 6.0 服务包、 内容,位置,为什么

194295  HOWTO: 确定安装了 Visual Studio 服务包

BEHAVIOR: ASSERT in Cmdtarg.cpp, line 52 (destructor for CCmdTarget), but OK if ignored

REASON: Ref count is off by one

HANDLING: None--this is a flaky problem that shouldn't be handled.

AFFECTED CONTROLS: Common Dialogs Control, Crystal Report Control, Grid Control, PICS Date Edit Control

Additional notes: Only seen if a previously added control caused problems-- hard to reproduce.


这个是断言错误,早起的版本有的,MS说 忽略就行 不用管  起因是用到了一个控件

抱歉!评论已关闭.