🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1627

Check for drive ready.

#1627
From: J. van Loenen
Date: Wed, 13 Mar 1991 10:09
30 lines
1618 bytes
Hi,

I'm writing a windows 3 program using a lot of data files. The user
may put the disks containing the files in any drive: floppy drive,
removable harddisk, optical disks etc. My program will search all
drives for the required data.

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?

As any media type may be used, the routine has to work for drives of
over 32Mb too.

Please respond by email.

Thanks in advance,
	Jan


###############################################################################
# DISCLAIMER:Unless otherwise stated, the above comments are entirely my own  #
#                                                                             #
#  Jan van Loenen                         Internet   jvl@idca.tds.philips.nl  #
#  Philips Information Systems            UUCP       ....!mcvax!philapd!jvl   #
###############################################################################
Technical Details
Message-ID: <1390@ssp18.idca.tds.philips.nl>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!uunet!mcsun!hp4nl!philapd!ssp18!jvl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!uunet!mcsun!hp4nl!philapd!ssp18!jvl
From: jvl@idca.tds.PHILIPS.nl (J. van Loenen)
Newsgroups: comp.windows.ms.programmer
Subject: Check for drive ready.
Message-ID: <1390@ssp18.idca.tds.philips.nl>
Date: 13 Mar 91 10:09:26 GMT
Organization: Philips Information Systems, Apeldoorn, The Netherlands
Lines: 30