Re: ntvdm encountered a hard error



On Windows I believe you can use CreateFile and DeviceIoControl for this.

Regards
Chris Saunders

"Frank Kotler" <spamtrap@xxxxxxxxxx> wrote in message
news:1rqdnaA-Pff86djYnZ2dnUVZ_oydnZ2d@xxxxxxxxxxxxxx
Galbu wrote:
Frank Kotler wrote:

Shouldn't cause a "hard error", but sector numbering usually starts at 1
(weird, I know). I'm surprised it worked on a floppy.

well, I've actually written cl=1.

anyway, is there any other way to read a drive sector under winXp
without using a locking drive? e.g. another interrupt?

You might try int 13h/45h. In general, if you want to use bios interrupts,
boot to dos. Windows gives you a "fake dos"... and not a very good fake.
(protected mode is protecting your system from *you*, y'know!)

I think there's a Windows API that will read a sector, but I don't know
what it is. Must exist, 'cause there's an "ERROR_SECTOR_NOT_FOUND"...

Best,
Frank



..

.



Relevant Pages

  • Re: Spyware. Am I in over my head?
    ... "scanned" and gave me a list of infecting files. ... default to reasonably "safe" the apparent scan was completely fake. ... Not having any Windows software, ... any Windows in my Mac Pro. ...
    (comp.sys.mac.system)
  • Re: iostreams equivalent to Cs fopen "r+"
    ... On 18 Nov 2003, Dave O'Hearn wrote: ... >> In the Windows implementation it does, on most Unix systems it does not. ... > compilation, or it won't compile on Red Hat 9 at all. ... > fake it, all the user code has to fake it instead. ...
    (comp.lang.cpp)
  • Re: 10.5 screen shots...or fake?
    ... probably fake but some interesting ideas nonetheless. ... it is only affecting the windows and not the Dock. ... unless Leopard has virtual desktops (with the same Dock). ... Demand for it is small, albeit vocal perhaps, and I ...
    (uk.comp.sys.mac)
  • Re: dummy file share?
    ... Set FILESERVER1 to whatever IP address you desire in your local hosts file. ... is there any way for me to fake these paths on my windows test ... Is there any hosts file/dns/whatever trickery that I might use to fake ...
    (microsoft.public.windows.server.networking)
  • Re: Net Send
    ... On Windows XP there is a nice little ... packets on this port. ... I've looked at the Windows Messenger hack traffic a couple times myself. ... computer-1 may fake it's IP address. ...
    (microsoft.public.windowsxp.network_web)