该程序已停止工作 [英] This program has stopped working

查看:111
本文介绍了该程序已停止工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我在Wondows 7上运行的可视C ++ mfc程序中,关闭主对话框/退出应用程序后,总是收到错误消息该程序已停止工作.但这在Windows XP中不会发生.谁能解释这是什么问题以及如何解决?

In a visual C++ mfc program, which I run on Wondows 7, I always get the error message This Program Has Stopped Working after I close the main dialog/exit the application. But it doesn't happen in Windows XP. Can anyone explain what the matter is and how to solve it?

非常感谢.

推荐答案

我的猜测是该程序试图写入需要管理员访问权限的文件或注册表项;这可能是由于程序在关闭时保存其设置而发生的.从Windows Vista开始,Microsoft对注册表和磁盘的大部分区域都起到了非常保护的作用,只有某些地方可以安全保存.

My guess is that the program is trying to write to a file or registry keys that require administrator access; this could occur by the program saving its settings as it shuts down. Starting with Windows Vista, Microsoft has gotten very protective with most areas of the registry and disk, and only certain places are safe to save to.

这篇关于该程序已停止工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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