Is there a way to generate an Illegal operation, or a Blue screen of death? if so, how? and can you make another program take the blame for it? like Notepad or paintbrush?
Printable View
Is there a way to generate an Illegal operation, or a Blue screen of death? if so, how? and can you make another program take the blame for it? like Notepad or paintbrush?
I reckon it's possible to make a small process killer and make it kill something like kernel32.dll...
It will just lock up the machine most of the time.. Maybe sometimes a BSOD
Copymemory is always nice for errors...
Dim s as string, t as string
t = "A"
CopyMemory s, t, Len(t)
will work fine :-) especially if you don't change the declaration as you get it from the API viewer.
But then, isn't it our task to NOT get GPF's/BSoD's ?? Windows itself is pretty good in it though... maybe you can ask one of M$ programmers :-)