今天发现用debug版本编译 退出时出错,检查代码没发现任何问题,查百度 问题也没解决,后来发现问题如下
Microsoft 已经确认这是在本文开头列出的 Microsoft 产品中的错误。在 Visual Studio 6.0 为最新服务包中,此缺陷已得到纠正。
有关 Visual Studio 的服务包的其他信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:
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.
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说 忽略就行 不用管 起因是用到了一个控件