Win Mobile中的MFC应用程序 [英] MFC application in win mobile
本文介绍了Win Mobile中的MFC应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在MFC中为Win Mobile 5创建了一个应用程序.当我第一次运行它时,它给我一个错误无法创建空文档",但是再次运行它就可以正常工作.之前不存在此错误.
我为我的应用程序创建了一些对话框,然后在启动时出现错误.
任何帮助将不胜感激.
Hi,
I created an application in MFC for Win Mobile 5. When I ran it the first time it gave me an error "failed to create empty document", but on running it again it worked fine. This error was not present earlier.
I created some dialogs for my application and after that it gave an error on startup.
Any help would be appreciated.
推荐答案
只需在CDocument* CDocTemplate::CreateNewDocument()
上设置一个断点 然后逐步执行(不应返回NULL
):)
Just set a break point atCDocument* CDocTemplate::CreateNewDocument()
and then step it through (it should not returnNULL
) :)
这篇关于Win Mobile中的MFC应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文