TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: David Nugent
from: Frank Malcolm
date: 1996-06-05 21:02:04
subject: Volume labels

Hi, David.

DN>  FM> BTW, you may not need to actually install an interrupt handler, just
DN> use
DN>  FM> FindFirst. If the floppy is not there you don't hang but get DosError
DN> =
DN>  FM> 152. Sorry, that's in Pascal, don't know what the equivalent is in C,
DN>  FM> presumably the function returns an error code.

DN> A dos findfirst will trigger a critical error just like any other access. I
DN> don't know why any Pascal code should not do so, but if it isn't, then
DN> something somewhere is installing a CE handler. Installing such a handler i
DN> a fact of life when dealing with removable disks (which includes CDROMs
DN> which it seems very few account for at all) under DOS.

Yes, of course. TP installs a crit. error handler as a matter of course
and it's this that catches the error. I meant that the programmer
doesn't have to explicitly do that.

Regards, fIM.

 * * I use original taglines--they originate elsewhere.
@EOT:

---
* Origin: Pedants Inc. (3:711/934.24)
SEEN-BY: 711/808 934
@PATH: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.