🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: floppy disk bad sectors

#8289
From: Andrue Cope [TeamB]
Date: Wed, 10 Nov 2004 08:02
10 lines
1286 bytes
Use CreateFile() with the path "\\.\A:" (you'll need to double up the
paths for C++. I think you can then use ReadFile and just remember that
floppy disks normally have 512 bytes per sector. If ReadFile() doesn't
work for you you can use DeviceIOControl but it's a bit of a pig. Get
back to me if you need help with it.

-- 
Andrue Cope [TeamB]
[Bicester, Uk]
http://info.borland.com/newsgroups/guide.html
Technical Details
Message-ID: <4191d90f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <419121f3$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2aacc4eb93e0b7a0
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Andrue Cope [TeamB]" <no.spam@not.a.valid.address>
Subject: Re: floppy disk bad sectors
Newsgroups: borland.public.cppbuilder.nativeapi
References: <419121f3$1@newsgroups.borland.com>
User-Agent: XanaNews/1.16.4.6
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 217.207.223.34
Message-ID: <4191d90f@newsgroups.borland.com>
Date: 10 Nov 2004 01:02:07 -0700
X-Trace: newsgroups.borland.com 1100077327 217.207.223.34 (10 Nov 2004 01:02:07 -0700)
Lines: 10
X-Authenticated-User: acope
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail