Hello,
I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?
Please help me.
Mario 17 11796
Explain further, are you referring to emulating the blue screen of death? Or
you just want a winform, covered in blue?
"Mario" <ma***@web.dewrote in message
news:3B**********************************@microsof t.com...
Hello,
I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?
Please help me.
Mario
Mario wrote:
Hello,
I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?
Please help me.
Mario
If you are trying for an actual BSOD I don't think you can do it in
managed code. That's what is mannaged, memory access and such. It's
written and executed in such a way that it doesn't blue-screen, it just
crashes and gets wiped. That's the point of running in it's own memory
space.
Tom P.
Hey, thanks for answering so quick. I want to emulate the blue screen of
death, so that nothing works anymore. (sry for my english)
Mario
"Daniel" wrote:
Explain further, are you referring to emulating the blue screen of death? Or
you just want a winform, covered in blue?
"Mario" <ma***@web.dewrote in message
news:3B**********************************@microsof t.com...
Hello,
I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?
Please help me.
Mario
hahahahah @ Chris................was my first reaction too lol
"Chris Fulstow" <ch**********@hotmail.comwrote in message
news:11*********************@f16g2000cwb.googlegro ups.com...
Why oh why oh why oh why?
Write some unsafe code? http://msdn2.microsoft.com/en-us/library/t2yzs44b.aspx
Mario wrote:
>Hello,
I need a program what generates me a blue screen in Windows XP with .net! This should be simple, but how?
Please help me.
Mario
Thanks, wath you wrote here makes sense. So I won't be able to program a blue
screen in C#. How can I do it in another languages? Do I have to use C?
Greetings Mario
"Tom P." wrote:
>
Mario wrote:
Hello,
I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?
Please help me.
Mario
If you are trying for an actual BSOD I don't think you can do it in
managed code. That's what is mannaged, memory access and such. It's
written and executed in such a way that it doesn't blue-screen, it just
crashes and gets wiped. That's the point of running in it's own memory
space.
Tom P.
Are you trying to create a virus?
I can't imagine why you would want a intentional BSOD!!!
"Mario" <ma***@web.dewrote in message
news:3B**********************************@microsof t.com...
Hello,
I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?
Please help me.
Mario
No, I am not trying to create a virus, the reason why I need this, is to
test a WindowsXPembedded system...
news.microsoft.com schrieb:
Are you trying to create a virus?
I can't imagine why you would want a intentional BSOD!!!
"Mario" <ma***@web.dewrote in message
news:3B**********************************@microsof t.com...
>Hello,
I need a program what generates me a blue screen in Windows XP with .net! This should be simple, but how?
Please help me.
Mario
"Mario" <ma***@web.dewrote in message
news:3B**********************************@microsof t.com...
Hello,
I need a program what generates me a blue screen in Windows XP with .net!
This should be simple, but how?
To reliably produce a "blue screen", you need only write a device driver
that deliberately crashes the OS. There's no reliable way to do it from a
user-mode app, managed or otherwise (there no doubt are ways, but they're
due to bugs and quirks and cannot be considered reliable).
-cd
I thought virus too. I still dont see why you would need to intentionally
recreate it for a windows xp embedded system.
Are you trying to recreate it to see the effect on the system if the BSOD
were to happen while it is running? I am baffled.
"Mario" <ma********@hotmail.comwrote in message
news:OL**************@TK2MSFTNGP05.phx.gbl...
No, I am not trying to create a virus, the reason why I need this, is to
test a WindowsXPembedded system...
news.microsoft.com schrieb:
>Are you trying to create a virus?
I can't imagine why you would want a intentional BSOD!!!
"Mario" <ma***@web.dewrote in message news:3B**********************************@microso ft.com...
>>Hello,
I need a program what generates me a blue screen in Windows XP with .net! This should be simple, but how?
Please help me.
Mario
Yes, that is what I am trying to do. I use a WindowsXPembedded system
with a Windows CE realtime Kernel. Now I need to test the acting of the
kernel of Windows CE cashes.
Daniel schrieb:
I thought virus too. I still dont see why you would need to intentionally
recreate it for a windows xp embedded system.
Are you trying to recreate it to see the effect on the system if the BSOD
were to happen while it is running? I am baffled.
"Mario" <ma********@hotmail.comwrote in message
news:OL**************@TK2MSFTNGP05.phx.gbl...
>No, I am not trying to create a virus, the reason why I need this, is to test a WindowsXPembedded system... news.microsoft.com schrieb:
>>Are you trying to create a virus?
I can't imagine why you would want a intentional BSOD!!!
"Mario" <ma***@web.dewrote in message news:3B**********************************@micros oft.com... Hello,
I need a program what generates me a blue screen in Windows XP with .net! This should be simple, but how?
Please help me.
Mario
Just write an unmanaged application that overwrites some system memory.
Using C, this is easily done using pointers. I know, because it happened to
me once or twice many years ago.
--
HTH,
Kevin Spencer
Microsoft MVP
Chicken Salad Shooter http://unclechutney.blogspot.com
A man, a plan, a canal, a palindrome that has.. oh, never mind.
"Mario" <ma***@web.dewrote in message
news:%2****************@TK2MSFTNGP04.phx.gbl...
Yes, that is what I am trying to do. I use a WindowsXPembedded system with
a Windows CE realtime Kernel. Now I need to test the acting of the kernel
of Windows CE cashes.
Daniel schrieb:
>I thought virus too. I still dont see why you would need to intentionally recreate it for a windows xp embedded system.
Are you trying to recreate it to see the effect on the system if the BSOD were to happen while it is running? I am baffled.
"Mario" <ma********@hotmail.comwrote in message news:OL**************@TK2MSFTNGP05.phx.gbl...
>>No, I am not trying to create a virus, the reason why I need this, is to test a WindowsXPembedded system... news.microsoft.com schrieb: Are you trying to create a virus?
I can't imagine why you would want a intentional BSOD!!!
"Mario" <ma***@web.dewrote in message news:3B**********************************@micro soft.com... Hello, > I need a program what generates me a blue screen in Windows XP with .net! This should be simple, but how? > Please help me. > Mario > >
Kevin Spencer <sp**@uce.govwrote:
Just write an unmanaged application that overwrites some system memory.
Using C, this is easily done using pointers. I know, because it happened to
me once or twice many years ago.
This *shouldn't* result in the BSOD - the OS should protect itself
against malicious programs running in user mode. As another poster
mentioned, writing a dodgy driver is more likely to get results.
Mind you, on CE it may be easier to provoke a BSOD.
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:uR****************@TK2MSFTNGP04.phx.gbl...
| "Mario" <ma***@web.dewrote in message
| news:3B**********************************@microsof t.com...
| Hello,
| >
| I need a program what generates me a blue screen in Windows XP with
..net!
| This should be simple, but how?
|
| To reliably produce a "blue screen", you need only write a device driver
| that deliberately crashes the OS. There's no reliable way to do it from a
| user-mode app, managed or otherwise (there no doubt are ways, but they're
| due to bugs and quirks and cannot be considered reliable).
|
| -cd
|
|
Try this or it's C equivalent, but do it at your own risk:
[ DllImport("kernel32") ]
public static extern IntPtr CreateFileMapping (
IntPtr hFile, IntPtr lpAttributes, int flProtect,
int dwMaximumSizeLow, int dwMaximumSizeHigh,
String lpName );
static void Main()
{
CreateFileMapping(new IntPtr(-1), IntPtr.Zero, 0x00000004, 10, 0,
"Whatever");
}
Make sure the size of the filemapping object is larger than the size paging
file (or the sum of all paging files), in above the value 10 means 10 GB.
Running this will BSOD (on XP all SP's), this bug is known for years and
still not solved, quite a "reliable" way to force a BSOD I would say.
Willy.
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP************************@msnews.microsoft.c om...
| Kevin Spencer <sp**@uce.govwrote:
| Just write an unmanaged application that overwrites some system memory.
| Using C, this is easily done using pointers. I know, because it happened
to
| me once or twice many years ago.
|
| This *shouldn't* result in the BSOD - the OS should protect itself
| against malicious programs running in user mode. As another poster
| mentioned, writing a dodgy driver is more likely to get results.
|
| Mind you, on CE it may be easier to provoke a BSOD.
|
| --
| Jon Skeet - <sk***@pobox.com>
| http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
| If replying to the group, please do not mail me too
Not really, see my reply to Carl.
Willy.
Well, Jon, like I said, it was a LONG time ago! I believe I was running
Windows 3.1 at the time...
--
HTH,
Kevin Spencer
Microsoft MVP
Chicken Salad Shooter http://unclechutney.blogspot.com
A man, a plan, a canal, a palindrome that has.. oh, never mind.
"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP************************@msnews.microsoft.c om...
Kevin Spencer <sp**@uce.govwrote:
>Just write an unmanaged application that overwrites some system memory. Using C, this is easily done using pointers. I know, because it happened to me once or twice many years ago.
This *shouldn't* result in the BSOD - the OS should protect itself
against malicious programs running in user mode. As another poster
mentioned, writing a dodgy driver is more likely to get results.
Mind you, on CE it may be easier to provoke a BSOD.
--
Jon Skeet - <sk***@pobox.com> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: robert |
last post by:
hi!
there's a line in my Javascript program that makes a change in the
appearance of an area of the screen. it is a game program, so there are
a cascade of changes after the user makes a move....
|
by: Ken Allen |
last post by:
I am developing a small utility program that must perform a considerable
amount of 'background' or 'research' work before it can display any user
interface. In general it can take 3-15 seconds to...
|
by: BobAchgill |
last post by:
My program has a problems maybe related to running on the wide screen
computer. Even when I change the screen resolution to 1024 by 768 I still
get the problems.
Some times my program window...
|
by: Kenneth Lantrip |
last post by:
My question is: Is there a generally accepted way to clear the screen
and perhaps move the cursor to a new location (other than newline) for
the next printf in standard c?
What about ANSI...
|
by: Leslie Kis-Adam |
last post by:
Hi everyone!
Does anyone know, if it is possible to clear the screen in ANSI C?
If it is,then how?
Any help would be appreciated.
Laszlo Kis-Adam
<dfighter_AT-NOSPAM_freemail.hu
| |
by: TomTH |
last post by:
I've written a program using a number of forms which runs perfectly on a 14" screen and you know the story....... on a bigger screen it all sits up in the top left hand corner.
Ok I can scale it to...
|
by: E C H (He of too much code) |
last post by:
I am very weak in VB.NET, I am using VB.NET 2k5 Express. I have only created one program,
and heck it was my first ;-) (URL below if it matters). I am trying to create a program
that stays...
|
by: sophie_newbie |
last post by:
Hi, in my program i need to call a couple of functions that do some
stuff but they always print their output on screen. But I don't want
them to print anything on the screen. Is there any way I can...
|
by: mike |
last post by:
I have the opportunity to rescue a project that
uses a mouse to sense the relative position of a machine.
The hardware is built...just needs to be programmed.
Stop snickering!!! I didn't do it...I...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |