How to skip a bad disk sector
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
A general disk exception was detected when open a new file. It is caused by a bad disk sector. How to skip the bad sector so that fileopen and fwrite can be continued? The software is developed with VC 6.0 on Win2k Thanks a lot.
I am not sure how easy that would be to do in code, but I would just suggest running ChkDsk, and letting it map around the bad sector. Peace! -=- James.