Article View: borland.public.cppbuilder.nativeapi
Article #9714Re: CD Tray
From: JD
Date: Fri, 18 Jun 2004 23:08
Date: Fri, 18 Jun 2004 23:08
18 lines
1433 bytes
1433 bytes
"Simon Macneall" <macneall@iinet-dot-net-dot-au> wrote: >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:
<40d3760a$1@newsgroups.borland.com>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-mailReferences:
<opr9pzs4ic2nqexn@lightyear> <40d15a23$1@newsgroups.borland.com> <opr9ric4112nqexn@lightyear>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d2e307fb824306b9 X-Google-Attributes: gid10cc67,public From: "JD" <nospam@nospam.com> Sender: "JD" <nospam@nospam.com> Reply-To: "JD" <nospam@nospam.com> Subject: Re: CD Tray Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 172.146.77.122 References: <opr9pzs4ic2nqexn@lightyear> <40d15a23$1@newsgroups.borland.com> <opr9ric4112nqexn@lightyear> NNTP-Posting-Host: 207.105.83.66 Message-ID: <40d3760a$1@newsgroups.borland.com> Date: 18 Jun 2004 16:08:58 -0700 X-Trace: newsgroups.borland.com 1087600138 207.105.83.66 (18 Jun 2004 16:08:58 -0700) Lines: 19 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