J
jaswinder
Greetings friends ~+~
I am developing a function that prepares a list of drives that are ready
to be read. If I use biosdisk() then that works fine for hard disk
drives and floppy disk drives, it tells me if the drive is ready (has a
disk and it is readable). In the case of CD-ROM's, networked drives,
jazz drives, zip drives, ram drives the biosdisk() function is useless.
The harderr() function (and its companions) seem to be the most
promising, I can intercept that annoying DOS message 'Not ready reading
drive X......'. I want to utilize the hardware error handler within the
function that prepares the drive list but then restore the normal error
handler for the rest of the program. Can this be done and how do I do
it? Thanks for any input.
--
----------------------------------------
Visit my web site at:
http://www.geocities.com/jaswinderprogramming
----------------------------------------
I am developing a function that prepares a list of drives that are ready
to be read. If I use biosdisk() then that works fine for hard disk
drives and floppy disk drives, it tells me if the drive is ready (has a
disk and it is readable). In the case of CD-ROM's, networked drives,
jazz drives, zip drives, ram drives the biosdisk() function is useless.
The harderr() function (and its companions) seem to be the most
promising, I can intercept that annoying DOS message 'Not ready reading
drive X......'. I want to utilize the hardware error handler within the
function that prepares the drive list but then restore the normal error
handler for the rest of the program. Can this be done and how do I do
it? Thanks for any input.
--
----------------------------------------
Visit my web site at:
http://www.geocities.com/jaswinderprogramming
----------------------------------------