在vc7.1到vc10移植的应用程序的对话框中使用时,新的MFC控件出现问题 [英] issue with new MFC controls when used in dialog of a vc7.1 to vc10 ported application

查看:64
本文介绍了在vc7.1到vc10移植的应用程序的对话框中使用时,新的MFC控件出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我成功地将现有程序从vc 7.1移植到了VC10.它没有问题.如果我尝试在对话框中使用新的MFC控件之一(即CMFCButton),则IMPLEMENT_DYNCREATE(创建对象)将失败.

关于如何解决该问题的任何想法吗?

谢谢

I succesfully ported an existing program from vc 7.1 to VC10. It runs w/o problems. If I try to use one of the new MFC controls (i.e. CMFCButton) to a Dialog the IMPLEMENT_DYNCREATE (Create Object) fails.

Any idea on how to overcome the problem ?

Thanks

推荐答案

您的意思是失败"?您应该更具体,提供邮政编码/确切的错误消息,以便我们为您提供帮助.是编译器错误,向导错误,链接器错误,运行时错误,调试断言吗?
What do you mean it "fails"? You should be more specific, post code/exact error message for us to be able to help. Is it a compiler error, wizard error, linker error, run-time error, debug assertion?


这篇关于在vc7.1到vc10移植的应用程序的对话框中使用时,新的MFC控件出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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