Article View: comp.os.msdos.programmer
Article #5816Re: Intercepting "Abort, Retry, Ignore or Fail" messages?
From: Assar Westerlund
Date: Wed, 17 Apr 1991 11:26
Date: Wed, 17 Apr 1991 11:26
26 lines
1650 bytes
1650 bytes
In article <1991Apr16.121117.19460@aplcen.apl.jhu.edu> tcs@mailer.jhuapl.edu (Carl Schelin) writes: >I recall a short time ago someone asking about how to do this but >didn't think I'd need this info so of course didn't save it. > >I wonder if someone could send my way the method of stopping >the Abort, Retry... message from appearing. I want to be able to go to >A: through my program, and be told that it's not available so I can >continue without bringing up the (arf). The "abort, retry... " message is called a critical error by DOS. When a critical error occurs, dos calls INT 24h. What you should be able to do is intercept INT 24h and print your own message or do whatever you want... To see the parameters used by the INT 24h call, look it up in a DOS programming book, like Peter Norton's, or one of these interrupts list. If you're unable to do this, e-mail me and I'll try to send you the information. /Assar ################################################################################ Assar Westerlund Address: d90-awe@nada.kth.se ################################################################################
Technical Details
Message-ID:
<1991Apr17.112642.2749@nada.kth.se>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!kth.se!cyklop.nada.kth.se!newsReferences:
<1991Apr16.121117.19460@aplcen.apl.jhu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!uupsi!sunic!kth.se!cyklop.nada.kth.se!news From: d90-awe@dront.nada.kth.se (Assar Westerlund) Newsgroups: comp.os.msdos.programmer Subject: Re: Intercepting "Abort, Retry, Ignore or Fail" messages? Summary: INT 24h Message-ID: <1991Apr17.112642.2749@nada.kth.se> Date: 17 Apr 91 11:26:42 GMT References: <1991Apr16.121117.19460@aplcen.apl.jhu.edu> Organization: Royal Institute of Technology, Stockholm, Sweden Lines: 26