Preventing XP from knowing that you program crashed.
From: The Half A Wannabee ("The)
Date: 03/18/04
- Previous message: Randall Hyde: "Re: Assembly obfuscation"
- Next in thread: Bx.C: "Re: Preventing XP from knowing that you program crashed."
- Reply: Bx.C: "Re: Preventing XP from knowing that you program crashed."
- Reply: hutch--: "Re: Preventing XP from knowing that you program crashed."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 18 Mar 2004 07:12:45 +0100
You know, perhaps, that in Windows XP, if you program faults, window will
launch a Dialogbox that says to the user:
"
ApplicationX.exe
ApplicationX.exe has encountered a problem and needs to close. We are sorry
for the inconvenience.
If you were in the middle of something, the information you were working on
might be lost.
PLEASE TELL MICROSOFT ABOUT IT...ect etc bull***
"
The last demo I posted included a primitive exceptionhandler. This contained
a rage condition, now patched. But it also have a feature. It prevents
window from showing the dialog.
The first lines in my app:
call 'kernel32.SetUnhandledExceptionFilter' TSZApplication_Exception
mov D$OldHandler eax
At the TSZApplication_Exception adresse :
[OldHandler:?]
TSZApplication_Exception:
cmp D$OldHandler &NULL|je @Quit
mov D$OldHandler &NULL
;Give some feedback maybe to user here
@Quit:
call TSZApplication_Done
ret
- Previous message: Randall Hyde: "Re: Assembly obfuscation"
- Next in thread: Bx.C: "Re: Preventing XP from knowing that you program crashed."
- Reply: Bx.C: "Re: Preventing XP from knowing that you program crashed."
- Reply: hutch--: "Re: Preventing XP from knowing that you program crashed."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]