捕获应用程序弹出窗口 [英] Capture Application Popup's

查看:422
本文介绍了捕获应用程序弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

我的C#程序导致Windows显示Appilcation Popup  "Xxxxx.exe延迟写入失败"。

My C# program caused Windows to show an Appilcation Popup  "Xxxxx.exe Delayed Write Failed".

可以在我的应用程序中像其他C#例外或连接服务一样捕获它吗?

Can capture this in my application like other C# Exceptions or by hooking up to a service?

或者

是否可以搜索Windows系统事件日志以查找由程序间接导致的日志,例如"延迟写入失败"等。和其他人使用C#?

Is it posible to search Windows System Event Log for logs indirectly caused by program only like the "Delayed Write Failed" and others with C#?

问候

Regards

推荐答案

这取决于。我从未见过Windows只是弹出这样的消息。这是Windows错误报告错误,然后您的应用程序崩溃?如果是,那么您可以处理异常。但是,如果这是来自Windows中的其他一些进程,那么你就不会在你的应用程序中使用
来处理它。

That depends. I've never seen Windows just pop up a message like this. Is this a Windows Error Report error and then your app crashes? If so then you can handle the exception. However if this is coming from some other process in Windows then you aren't going to be able to handle it in your app.

你可以在事件日志中搜索这样的假设它为其写入事件日志条目的消息。你必须查看事件日志才能找到答案。 

You can search the event logs for such a message assuming that it writes an event log entry for it. You'd have to look in the event logs to find out. 

这个错误在我看来是与硬件相关的问题,而不是软件问题。我认为你应该评估驱动器,看看你是否有一个坏的。

This error seems to me to be a hardware-related issue and not a software one. I think you should evaluate the drive to see if you have a bad one.


这篇关于捕获应用程序弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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