Link to home
Start Free TrialLog in
Avatar of merdik
merdik

asked on

How to freeze windows 95?

I would like to know how to freeze up a windows 95 machine
with a visual basic code. It can be just a "blue screen of the death".

thanks
Avatar of TomKid2004
TomKid2004

And why in the world would you even want to do this?
Easy,
    just copy 3 or 4 of the API declarations from the API viewer and try to call the functions correctly!!! MoveMemory works real good... just poke arbitrary values into it...
I wont give you the code for this, but try terminating the KERNEL32.DLL!
Why would you want to make a computer crash anyway???

ASKER CERTIFIED SOLUTION
Avatar of Shroom
Shroom

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The answer doesnt lock windows just the mouse!!!

Here's a clue, look at the following APIs

Createtool32help (or something like it)
Process32First
Process32Next
(CloseHandle)
OpenProcess
GetExitCodeProcess
TerminateProcess
(CloseHandle)

Have Fun! :)) Use your initiative!
One sure fire way of CRASHING windows is to slap the Winsock control onto your form and make ordinary calls to it over and over again (connect/disconnect) and within 4 hours time your entire system will go down because of lost memory. Your HD will also begin thrashing because of the lost physical RAM (resorting to full virtual).

Sounds like you are making a malignant virus...
4 Hours... I think s/he wants an instant crash!!!

(Look into those APIs, I will help you further if you need it)
I'd hide the cursor too!

add the declaration from the Win32API Reference!

' Code
r=ShowCursor(0)

This freezes the mouse but it also makes it so nothing happens if u would like the code for it to disable ctrl alt del then ask me for it. then they cant do anything! Oh well have fun!!!