delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/12/22/12:08:59

Date: Wed, 22 Dec 93 11:15:32 EST
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Cc: terra AT diku DOT dk
Subject: critical error routine

[in a critical error handler]
> I may be remembering this wrong, but shouldn't you call one of the 
> no-stacks-used calls of Dos in order to make Dos stable again?
> I think Borland Pascal uses a call to "get verify flag".

Yesterday I agreed with this, but after reading docs, I think it's wrong.
The use of a DOS call to stabilize DOS is necessary if the critical error
handler returns directly to the user program, but the handler I posted returns
to MS-DOS, telling it to fail the operation, and MS-DOS returns to the user
program.  I don't think the stabilizing call is needed in this case.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019