Direct Disk Access

Direct Disk Access

Post by nobod » Thu, 30 Oct 2003 07:27:19


I am very new to this so please bear with me.

Im trying to find a way to directly access a physical drive so that I can read
each and every sector from the windows environment.

So far I have been able to access the int13 exts only from a dos box and if
I try from a win16 or win32 pgm the interrupt calls always fail.

I have tried implementing the 'locking hierarchy' with no success.

Also I tried the vwin32 approach and that aborts my program when I try for the
level 2 lock.

I would really like to avoid writing a vxd (just because Im unfamiliar with
it).

Q1: Could I write a dos tsr and call that from windows, thus bypassing
Micros__t?

Q2: If I write a vxd, will micros__t stop thwarting my attempts. From what
little I understand this wouldnt work either.

Im trying to do this on win98.

Thank you.
 
 
 

Direct Disk Access

Post by Maxim S. S » Mon, 03 Nov 2003 07:21:32


On NT OSes, call CreateFile(\\.\PhysicalDrive%d") and then do ReadFile.
Dunno on obsolete Windows (my advice is to throw it away).




read
the

 
 
 

Direct Disk Access

Post by Lynn McGui » Sat, 08 Nov 2003 03:30:17

> Im trying to find a way to directly access a physical drive so that I can read

See EditDisk at http://www.yqcomputer.com/

Lynn
 
 
 

Direct Disk Access

Post by Maxim S. S » Sat, 08 Nov 2003 07:51:56


DSKPROBE from the Support Tools (same CD as the OS) also suits.




read