#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    34
    Rep Power
    12

    Writing directly to disk (win32)


    I want to write directly to a particular sector on a floppy disk, but I don't have a clue how to do it (and even less of clue how to do it so that NT-based systems let it run).

    Thanks,
    Alun
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,616
    Rep Power
    4247
    The functions you're looking for (in DOS/Win 3.1/Win 3.11) were called absread() and abswrite(). For Win 95/98 and NT/2K, these are handled differently. See http://www.codeguru.com/system/ReadSector.html for more.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Posts
    34
    Rep Power
    12
    Thanks. That's exactly what I was looking for :)

IMN logo majestic logo threadwatch logo seochat tools logo