Mail Archives: djgpp/1998/06/24/08:18:10
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.
- Raw text -