🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #35

ERRORHANDLING

#35
From: Tokuro Yamashiro
Date: Tue, 27 Oct 1992 20:04
6 lines
920 bytes
Could anyone tell me how to trap disk error?
I can have not to display system error by setting SEM_FAILCRITICALERRORS
in SetErrorMode but how can I detect if there was an Error or not?
I am useing Borland c3.1.  If I call _chdrive to a floppy drive and if i
do not have disk in it, it won't return me an error... what should i do?
                                                     
Technical Details
Message-ID: <1942.9.uupcb@uttsbbs.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!usenet.coe.montana.edu!decwrl!csus.edu!netcom.com!netcomsv!boo!uttsbbs!tokuro.yamashiro

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!rpi!usenet.coe.montana.edu!decwrl!csus.edu!netcom.com!netcomsv!boo!uttsbbs!tokuro.yamashiro
From: tokuro.yamashiro@uttsbbs.uucp (Tokuro Yamashiro) 
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: ERRORHANDLING
Message-ID: <1942.9.uupcb@uttsbbs.uucp>
Date: 27 Oct 92 20:04:00 GMT
Distribution: world
Organization: The Transfer Station BBS, Danville, CA - 510-837-4610/837-5591
Reply-To: tokuro.yamashiro@uttsbbs.uucp (Tokuro Yamashiro) 
Lines: 6