Ok, need some help here...
I have tried:
1. The original code posted above.
2. The Unmount/Mount d:\ code in the above post, and from XFactorDev.net.
3. Directly using \Device\Harddisk0\Partition1 in the copyfile and FindFirstFile commands.
4. A bunch of other tweaks and prods....
It still doesn't work!
I know the FindFirstFile is returning INVALID_HANDLE_VALUE, even if the file I'm checking for exists!
So, my code, in any way I try it, doesn't do squat.
Anyone got any ideas?
BTW - What is the best way to debug this stuff without a debug XBox? Do I have to put in a bunch of DirectX stuff to print debug output to the screen or is there a better way?
I'm gone all weekend, so we all have some time to mull this over.... Perhaps i will DL MXM's source and pick it apart!
Morden.