PDA

Click to See Complete Forum and Search --> : Crash!!!!!!!!!!!!


spetnik
Jul 27th, 2001, 01:25 PM
Here's an interesting function that will crash windows:D. No crunching, no hourglass, no message. Just immediately completely freezes. If you try it (i did :p), make sure u save all your work first!!!! I take no responsibility!


Public Declare Function GetParent Lib "user32" (ByVal hWnd As Long) As Long
Public Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, _
ByVal hWndNewParent As Long) As Long

Public Sub crashMe(hWnd As Long)
Call SetParent(GetParent(hWnd), hWnd)
End Sub

filburt1
Jul 27th, 2001, 01:26 PM
I bet that code is in the Win98 Explorer.EXE at least 10 times. :D

spetnik
Jul 27th, 2001, 01:32 PM
Nah, it's too quick and efficient. When Windows crashes, it takes much longer.

filburt1
Jul 27th, 2001, 01:33 PM
And a lot more painful and blue (i.e., BSOD) :D

spetnik
Jul 27th, 2001, 01:34 PM
watch your language!! Im gonna tell!!!! u used the 4 letter word!!!

filburt1
Jul 27th, 2001, 01:36 PM
AGH! *runs away from pursuing mods* :D

spetnik
Jul 27th, 2001, 01:48 PM
hmmm, it dont work on NT only 95/98 :confused:

parksie
Jul 27th, 2001, 04:55 PM
Yeah well NT is good for stability :)

spetnik
Jul 27th, 2001, 05:44 PM
PBTHHHHHHHHHH!!!!!!!!!!! excuse me? were u saying something, Parksie?

parksie
Jul 27th, 2001, 05:47 PM
Okay well it's MORE stable than 9x :p

Aragorn
Jul 27th, 2001, 10:38 PM
they told me that NT was not really developed by MS. is that true??
Well, anyway, that would be an explanation... :p

MidgetsBro
Jul 28th, 2001, 05:27 AM
Liars! That code didn't crash my computer. :( I really wanted to go to bed too...

MidgetsBro
Jul 28th, 2001, 05:29 AM
Originally posted by filburt1
I bet that code is in the Win98 Explorer.EXE at least 10 times. :D

So it's only in the WinNT Explorer.exe (if NT has an explorer.exe file) 5 times? That's why it seems more stable, but really, it just takes somthing different to crash it. :)