Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!microsoft!chrisg From: chrisg@microsoft.UUCP (Chris GUZAK) Newsgroups: comp.windows.ms.programmer Subject: Re: Check for drive ready. Message-ID: <71318@microsoft.UUCP> Date: 15 Mar 91 04:06:28 GMT References: <1390@ssp18.idca.tds.philips.nl> Reply-To: chrisg@microsoft.UUCP (Chris GUZAK) Organization: Microsoft Corp., Redmond WA Lines: 13 In article <1390@ssp18.idca.tds.philips.nl> jvl@idca.tds.PHILIPS.nl (J. van Loenen) writes: >Problem: If the user puts his disk in some drive, he has to put disks >in all preceding drives too, otherwise windows will show a messagebox >"drive not ready, Retry/Cancel", and the user has to click "cancel" >many times, for each drive searched. > >Now my question: is it possible to decide if a drive is ready, without >windows showing the messagebox? SetErrorMode(1) turns off windows int24 critical error handler. use it! (that means everyone) Chris