Mail Archives: djgpp/1995/05/04/01:03:02
I have a program where I want it to see if there is a disk in drive
A to scan, but my problem is that whatever I try to use in order to access the
drive will result in an "Abort, Retry, Fail?" message if there is no disk in
the drive. I have tried using functions like getdfree() on the drive, and then
check errno afterwards, but these functions also give the "Abort, Retry, Fail?"
prompt. Attempting to read to or write from a dummy-named file on drive A:
also gives the same message. Is there anyway to get around this (possibly with
some intdos() command, maybe?)? Thanks.
---Michael Phelps, MD
- Raw text -