"纯虚函数调用"消息框 [英] "pure virtual function call" Message Box

查看:154
本文介绍了"纯虚函数调用"消息框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个C#的WinForms应用程序随机显示一个纯虚函数调用的消息框。当我点击该消息框的确定按钮在应用程序将立即关闭即可。
我不能在我的应用程序日志文件中发现任何异常,事件日志为空。谁能告诉我这个崩溃可能的原因以及如何进一步分析问题的根本原因是什么? THX

One of my C# Winforms applications randomly displays a "pure virtual function call" message box. When I click on the ok button of that message box the application immediately shuts down. I cannot find any exception in my application logfiles and the eventlog is empty. Can anybody tell me possible reasons for this crash and how I can further analyse the root cause of the problem? thx

推荐答案

您调用从析构函数的抽象函数?

Are you calling an abstract function from a destructor?

通过一定的搜索引擎: http://www.google.com/search q =纯虚+ + +函数调用+ C%23

Via a certain search engine: http://www.google.com/search?q=pure+virtual+function+call+c%23

雷蒙德有着相当详细的答复:的 http://blogs.msdn.com/oldnewthing/archive/2004/04/28/122037.aspx

Raymond has a pretty detailed response: http://blogs.msdn.com/oldnewthing/archive/2004/04/28/122037.aspx

这篇关于"纯虚函数调用"消息框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆