Re: Accessing the sectors of an harddisk



Ruud wrote:

Which Windows version do you use?


Mainly W98SE but my program must be able to work in XP as well.

Well, Win98 is a DOS extender, not a true OS. CreateFile for phyiscal drives only works in true 32 bit OS (NT, W2K, XP...). See the requirements and limitations, listed with CreateFile.

You must provide different program versions, for Win9x and NT, and at least for the Win9x version you'll need additional drivers. Have a look at (good) disk recovery software, available for both OS kinds, there you'll find more information and ads, which may be useful in your project.

DoDi
.