πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Finding/detecting CD-rom drive

#273
From: Dave Parsons
Date: Tue, 27 Apr 1999 00:00
30 lines
1484 bytes
Jan,
  I have an example on my webpage that does exactly that.


--
Good Luck!!
    -Dave
Inprise Certified Delphi 4 Client/Server developer
http://www.erols.com/dparsons

Bruno BORNIL <bruno.bornil@overlap.fr> wrote in message
news:37273EA8.BB402B13@overlap.fr...


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: <7g7jm3$mti$1@autumn.news.rcn.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3722E2CD.5347E78@get2net.dk> <37273EA8.BB402B13@overlap.fr>

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: "Dave Parsons" <dparsons@erols.com>
Subject: Re: Finding/detecting CD-rom drive
Date: 1999/04/27
Message-ID: <7g7jm3$mti$1@autumn.news.rcn.net>
X-Deja-AN: 471973270
References: <3722E2CD.5347E78@get2net.dk> <37273EA8.BB402B13@overlap.fr>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Complaints-To: abuse@rcn.com
X-Trace: GAUSxXF9X36Edz8CJ5IDTE4venfZhPG1us2gzb5W67k=
X-MSMail-Priority: Normal
NNTP-Posting-Date: 28 Apr 1999 18:22:59 GMT
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi,comp.lang.pascal.delphi