Mail Archives: djgpp/1993/12/22/12:08:59
[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 -