RE: [COMP] Question for Windows Programmers (Visual C++)

> floppy drive for read and write.  You can use the open() function to open a
> file on the disk, but you cannot get to the file allocation table or the
> master boot record.  You can only read and write to that file.  In windows,
> there is no /dev/fd0 to open.  I don't know what to type in place of
> "/dev/fd0" to open the disk.  MSDN says you must use the CreateFile() and
> DeviceIoControl() functions to write to the disk, but they only tell how to
> open regular files and not the actual device.

Oh, writing directly to the device isn't allowed in NT, as far as I know
(hence the problem with some games and NT).  There's gotta be a way of
doing it, but it probably isn't exactly an 'approved' method or something.
Good luck...

John


========================================
Avenir Web's Computers Mailing List

List Modes, Subscription, and General Info:
Go to http://avenir.dhs.org/mailing.html
List Archives: http://avenir.dhs.org/archives/
Administrative Contact: webmaster@xxxxxxxxxxxxxx

Get computer help: http://avenir.dhs.org
========================================

Other related posts: