开发者

Tracking recently crashed applications

开发者 https://www.devze.com 2023-01-08 05:00 出处:网络
Is it possible to create a program that determines what applications have just recent开发者_如何学Pythonly crashed?

Is it possible to create a program that determines what applications have just recent开发者_如何学Pythonly crashed?

An example.

I open mozilla, and I open power point, but power point crashes.

Using a program, can I check what programs recently crashed?

Thanks in advance -Kevin


You could try to examine the EventLog using the System.Diagnostics.EventLog class: http://msdn.microsoft.com/en-us/library/system.diagnostics.eventlog.aspx

IIRC, you could filter Application Error events with id 1000 and evaluate the data.

I know, my answer is not a comprehensive walk-through, but hopefully a useful hint.

0

精彩评论

暂无评论...
验证码 换一张
取 消