本文介绍了模拟蓝屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想让一个程序定期记录一大堆事情。
具体原因是,如果是蓝屏,开发人员可以回去检查很多环境,看看那段时间发生了什么。

I am trying to make a program that records a whole bunch of things periodically.The specific reason is that if it bluescreens, a developer can go back and check a lot of the environment and see what was going on around that time.

我的问题是,他们是一种造成蓝屏的方法?
也许有一个windowsAPI调用(ZeroMemory也许?)。

My problem, is their a way to cause a bluescreen?Maybe with a windowsAPI call (ZeroMemory maybe?).

任何时候,如果你能想出一种方式,使一个蓝屏上的电话,我会感激。

Anywhoo, if you can think of a way to cause a bluescreen on call I would be thankful.

我正在测试这台电脑的电脑是为了像这样的哈哈。

The computer I am testing this on is designed to take stuff like this haha.

我使用的语言是C \ C ++。
谢谢

by the way the language I am using is C\C++.Thank you

推荐答案

您可以将计算机配置为按键击击(Ctrl-ScrollLock)

You can configure a machine to crash on a keystroke (Ctrl-ScrollLock)



  • http://support.microsoft.com/kb/244139

由于似乎有时候某些系统不能使用USB键盘,也得到Windows的调试工具,安装内核调试器,并使用 .crash 命令强制进行错误检查。

Since it appears that there are times when that won't work on some systems with USB keyboards, you can also get the Debugging Tools for Windows, install the kernel debugger, and use the ".crash" command to force a bugcheck.



  • http://www.microsoft.com/whdc/devtools/debugging/default.mspx

这篇关于模拟蓝屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 15:30