Windows 7程序“已停止工作". [英] Windows 7 program "has stopped working"

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

问题描述

你好,

我正在使用Visual Studio 2008开发C#应用程序.该开发正在使用Windows XP SP3.

我的问题是Windows 7中出现了通用的已停止工作"窗口.一个不提供任何信息的!我尝试使用兼容性向导或其他工具,但是该报告的详细信息"是应用程序名称和开发平台.

我认为某处可能缺少晦涩的DLL,如果使用Windows XP,我将确切知道哪个DLL.

有谁知道解决这个问题的方法吗?

谢谢,
亚当

Hello,

I am developing a C# application using Visual Studio 2008. The development is using Windows XP SP 3.

My problem is with the generic "has stopped working" window that comes up in Windows 7; the one that does not offer any information! I tried using the Compatibility Wizard or whatever, but that report''s "details" is the application name and development platform.

I think there may be an obscure missing DLL somewhere, and had it been Windows XP I would know exactly which one.

Does anyone know of a way to figure this out?

Thanks,
Adam

推荐答案

我认为您的异常被埋在了代码中的某个地方.
您需要提高它以获取有关正在发生的事情的更多信息.

请在此处查看. [
I think your exception is being buried somewhere inside your code.
You need to raise it in order to get more information about what''s happening.

Please take a look here.[^]


您是否尝试过更改默认调试器 [启动调试器 [ ^ ]或什至是远程调试,以帮助您获取有关正在发生的事情的更多信息?
Have you tried changing the default debugger [^], automatically launch the debugger[^] or even remote debugging to help you get more information on what in happening?


这发生在我身上,这是因为我的主线程在系统加载时停止了片刻一些视频EOS.在我看来,这确实是Windows 7中的一个错误,该应用有时可以正常运行,而其他时候则不能,但是在其他所有操作系统上都可以正常运行.尝试弄清楚您的应用在启动时是否需要花费一些时间(在我的情况下,这是一个WPF数据绑定命令,需要花费一些时间才能完成),并查看是否可以使该过程更加手动,以便Win7识别出您的应用程序正在运行.
This happened to me, and it''s because my main thread stopped for a moment, while the system loaded some videos. It''s really a bug in Windows 7, in my opinion, the app works fine sometimes, and other times does not, but it works fine on every other OS. Try to figure out if your app takes a while to do something on startup ( in my case, it was a WPF databinding command that takes a while to finish ) and see if you can make the process more manual, so that Win7 recognises that your process is working.


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

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