Date: Wed, 24 Jun 1998 15:17:57 +0300 (IDT) From: Eli Zaretskii To: Mental Teo cc: djgpp AT delorie DOT com Subject: Re: disk error handling In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Wed, 24 Jun 1998, Mental Teo wrote: > also in djgpp, how can i trap and thus catch > > disk-errors........like drive a: is not avialable? > > in borland it's harderr & hardretn.... You cannot have harderr and hardretn in DJGPP, because DPMI spec doesn't allow to abort a DPMI program without going through the normal DPMI shut-down procedure, and hardretn can abort it it like that. The only way to achieve what you want is to scan all valid drives before the user references a potentially absent drive.