🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #9706

Re: CD Tray

#9706
From: Simon Macneall
Date: Thu, 17 Jun 2004 23:32
16 lines
1421 bytes
On 17 Jun 2004 01:45:23 -0700, JD <nospam@nospam.com> wrote:

>
> This is a post cut-n-pasted as it:
>
> This is a simple CD door opening and closing program (with a few extras
> built in). I think it'll do all that you need. just modify it a bit.
>

Thanks Rhys, but as far as I can see, you are checking for the existence  
of a particular file to see whether to open or close the tray. If it is  
closed with no disk in, the FileExists will fail and you will try to close  
the door, which would be wrong.

Thanks anyway
Simon
Technical Details
Message-ID: <opr9ric4112nqexn@lightyear>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <opr9pzs4ic2nqexn@lightyear> <40d15a23$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,d2e307fb824306b9
X-Google-Attributes: gid10cc67,public
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: CD Tray
References: <opr9pzs4ic2nqexn@lightyear> <40d15a23$1@newsgroups.borland.com>
Message-ID: <opr9ric4112nqexn@lightyear>
Date: Fri, 18 Jun 2004 07:32:54 +0800
From: "Simon Macneall" <macneall@iinet-dot-net-dot-au>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
User-Agent: Opera M2/7.51 (Win32, build 3798)
NNTP-Posting-Host: 203.153.243.50
X-Trace: newsgroups.borland.com 1087515035 203.153.243.50 (17 Jun 2004 16:30:35 -0700)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail