Direct access to floppy

Hello, I need to access floppy disk directly (not files but sectors). I know how to write using lseek() and write() but how about reading? I'm using windows xp and dev-c++.
This is significantly more difficult.

I searched MSDN and found a page with examples of how to do it with a CD-ROM drive:

http://support.microsoft.com/kb/138434

It says that it's the same process as it is for HDs and Floppies, so it should apply. If nothing else it'll give you a starting point for further research.
Thanks!
Here's a link that will probably be of use:

http://www.codeguru.com/cpp/cpp/cpp_mfc/files/article.php/c13809


Enjoy!
Great article! This gave me idea to make a floppy formater. Thanks!
Topic archived. No new replies allowed.