Date: Sun, 7 Apr 1996 09:36:15 +0200 (IST) From: Eli Zaretskii To: Lee Braiden Cc: djgpp AT delorie DOT com Subject: Re: Critical Error Handler In-Reply-To: <4jvore$3pb@daneel.dnet.co.uk> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 4 Apr 1996, Lee Braiden wrote: > I'm pretty sure I've seen this question here before, but it's not in > the FAQ, and it's not showing up in the mail search, so.. If you don't see it in the mail search, it most probably wasn't asked here. > How do I trap the DOS critical error interrupt ? You just hook it. Int 24h is one of the few software interrupts that are reflected to protected mode even when they happen in real mode. But be aware that there are differences between DPMI hosts on the handling that Int 24h gets, so test your code under as many DPMI servers as you can. Btw, many DPMI servers just fail the call that caused Int 24h (you shouldn't see the ``Abort/Retry/Fail'' message), so you might even not need hooking it at all.