Article View: borland.public.cppbuilder.nativeapi
Article #9628Re: How to determine that CD-drive is empty?
From: Simon Macneall
Date: Fri, 25 Jun 2004 00:00
Date: Fri, 25 Jun 2004 00:00
23 lines
1535 bytes
1535 bytes
On Thu, 24 Jun 2004 15:40:35 +0400, Alexander Aliev <ali@isa.ru> wrote: > Hi, Martin and JD, > > thank you for your help. > SetErrorMode(SEM_NOOPENFILEERRORBOX | SEM_FAILCRITICALERRORS) > works well without CreateFile() and DeviceIoControl(). > > Regards, > Alexander > > P.S. The only thing left behind - why CreateFile() does not work as > needed. > But now it doesn't matter. > > I have been trying to do something similar on and off for the last couple of weeks. Could you post the final working code? Thanks Simon
Technical Details
Message-ID:
<opr94ibay12nqexn@lightyear>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40da83a0$1@newsgroups.borland.com> <40dab6f4$1@newsgroups.borland.com> <40dabd59$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,d00920f15dfe8a59 X-Google-Attributes: gid10cc67,public Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to determine that CD-drive is empty? References: <40da83a0$1@newsgroups.borland.com> <40dab6f4$1@newsgroups.borland.com> <40dabd59$1@newsgroups.borland.com> Message-ID: <opr94ibay12nqexn@lightyear> 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 Date: Fri, 25 Jun 2004 08:00:36 +0800 User-Agent: Opera M2/7.51 (Win32, build 3798) NNTP-Posting-Host: 203.153.243.50 X-Trace: newsgroups.borland.com 1088121501 203.153.243.50 (24 Jun 2004 16:58:21 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail