Article View: borland.public.cppbuilder.nativeapi
Article #8089Re: CD sector r/w
From: Andrue Cope [TeamB]
Date: Mon, 22 Nov 2004 09:18
Date: Mon, 22 Nov 2004 09:18
20 lines
1598 bytes
1598 bytes
Boba wrote: > the calls return no errors but the read_buffer stays unchanged. > (this was my first and only test under win98) Uh oh. As per the help: Windows 95: This technique does not work for opening a logical drive. In Windows 95, specifying a string in this form causes CreateFile to return an error. � The dwCreationDistribution parameter must have the OPEN_EXISTING value. � When opening a floppy disk or a partition on a hard disk, you must set the FILE_SHARE_WRITE flag in the dwShareMode parameter. -- Andrue Cope [TeamB] [Bicester, Uk] http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<41a1af01$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<419e32eb@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f45d17c1db0b0855 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address> Subject: Re: CD sector r/w Newsgroups: borland.public.cppbuilder.nativeapi References: <419e32eb@newsgroups.borland.com> Date: Mon, 22 Nov 2004 09:18:53 +0000 User-Agent: XanaNews/1.16.4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 217.207.223.34 Message-ID: <41a1af01$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1101115137 217.207.223.34 (22 Nov 2004 01:18:57 -0700) Lines: 20 X-Authenticated-User: acope Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!newsfeed.icl.net!newsfeed.freenet.de!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail