Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

solve the problem of raw access to disk sectors in Windows Vista and XP

2 views
Skip to first unread message

James Walmsley

unread,
Mar 14, 2009, 4:29:18 PM3/14/09
to
I noticed a post by Eldos for their expensive Rawdisk driver.

There is no need for such a solution, didn't anyone try the following
code:

int f = open("\\\\.\\PHYSICALDRIVE1", O_RDWR | O_BINARY);

Using the low-level C programming functions I can happily read and
write away to any sector I want.

Thats under Windows 7 which works the same as Windows Vista, always
get access denied using fopen or Windows CreateFile().

Try it, it will save you a WAD load of cash.

James

p.s. I couldn't believe this worked, because of all the people
complaining they couldn't do it. Just shows that no one is using the
correct API for dealing with raw devices.

0 new messages