πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #261

Re: Finding/detecting CD-rom drive

#261
From: Bruno BORNIL
Date: Wed, 28 Apr 1999 00:00
18 lines
1313 bytes

Jan Hecker & Rikke Skaanes a Γ©crit :

> Hi,
> I'm making a little program, and needs the program to find/detect the
> drive letter of the cd-rom drive! How's that dine??? I'm usinfg Delphi
> 3.
>
> Jan

Hello,

   You should use the GetDriveType function from API func.

   In the case of a CD_ROM it returns an integer (5 i think).

Bye.
Technical Details
Message-ID: <37273EA8.BB402B13@overlap.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3722E2CD.5347E78@get2net.dk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 104e31,760af54ae7896609
X-Google-Attributes: gid104e31,public
X-Google-Thread: f894d,760af54ae7896609
X-Google-Attributes: gidf894d,public
X-Google-Thread: 10baee,760af54ae7896609
X-Google-Attributes: gid10baee,public
From: Bruno BORNIL <bruno.bornil@overlap.fr>
Subject: Re: Finding/detecting CD-rom drive
Date: 1999/04/28
Message-ID: <37273EA8.BB402B13@overlap.fr>
X-Deja-AN: 471945995
Content-Transfer-Encoding: quoted-printable
References: <3722E2CD.5347E78@get2net.dk>
To: Jan Hecker & Rikke Skaanes <rikkejan@get2net.dk>
X-Accept-Language: fr
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@iway.fr
X-Trace: jaydee.iway.fr 925318871 9218 194.98.194.154 (28 Apr 1999 17:01:11 GMT)
Organization: Overlap
Mime-Version: 1.0
NNTP-Posting-Date: 28 Apr 1999 17:01:11 GMT
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi,comp.lang.pascal.delphi