![]() |
PSDK - read defect sectors ?
hello,
can i use the platform sdk to read sectors of a disk and show a message if one is defekt ? when yes, can someone post an example ? thanks... cu cdkiller |
Re: PSDK - read defect sectors ?
The PSDK ist just the documentation for the Windows API Functions. You better think it over and ask again what you really want. And then ask a meaningful question.
|
Re: PSDK - read defect sectors ?
yes i know that it is a documentation.
my question was about it. how can i read defect sector with the win api functions ? thanks. |
Re: PSDK - read defect sectors ?
Zitat:
I'd say no. You will have to access the HDD at really low level. API functions are still to high. Therefore you might need to write a device driver. And that is impossible with Delphi. You need Visual C by MS and the DDK also by MS. |
Re: PSDK - read defect sectors ?
Zitat:
|
Re: PSDK - read defect sectors ?
You might find sth. at
![]() I'm sure that there is a unit, with which you can read defect sectors on a floppy. You just need to modify it a little bit (no problem with PSDK). I'am sure, that the source is posted in a comment... I worked with that unit a long time ago but I lost it. (If everyone would use google.de/google.com ) :roll: |
Re: PSDK - read defect sectors ?
Liste der Anhänge anzeigen (Anzahl: 1)
Well then...
Because I'm such a nice guy, I searched for the Unit in the dark in deeps of my HDD. And I found it! But there are of course some things that must be modified, like: BYTESPERSECTOR: 512 <= only for a Floppy! BTW: It's from swissdelphicenter.net written by Lemi :drunken: Daniel |
Re: PSDK - read defect sectors ?
This won't help you detecting physically "defect" sectors. And unless they're really physically defect, you can easily copy them with every cd/dvd clone utility...
|
Re: PSDK - read defect sectors ?
What?
Of course you can detect physically defect sectors with this Unit. You'll never be able to read defect sectors. I tried it by making a scratch on a CD and trying to read the sectors. As expected, it didn't work. But the Unit told me, how many sectors are damaged. I think, this is what he wants, isn't it? |
Alle Zeitangaben in WEZ +1. Es ist jetzt 17:07 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz