InitDialog因VC ++ 2010中的错误而失败 [英] InitDialog fails with error in VC++ 2010
本文介绍了InitDialog因VC ++ 2010中的错误而失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
CDialog :: OnInitDialog();
我使用上面的行来出现错误时显示对话框。这在VC ++ 6中有效,但它不在VC ++ 2010中。
我在VC ++ 2010中的这一行收到尝试不支持的操作消息。这是什么错误意味着什么?
谢谢!
Hi,
CDialog::OnInitDialog();
I use the above line to display a dialog when there is an error. This was working in VC++ 6 but it is not in VC++ 2010.
I am getting "Attempted an unsupported operation" message at this line in VC++ 2010. What does this error mean?
Thanks!
推荐答案
你不应该直接调用这个函数,它是从首次创建对话框时的框架。
You should not call this function directly, it is called from the framework when the dialog is first created.
这篇关于InitDialog因VC ++ 2010中的错误而失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文