What a DUMB question!!! You must be a BRAINOFF to say this Is obvius is OF COURSE that is possible to read and write in the first sector of a hard disk using MSVC!!!
It is possible to write any program that does anything you want it to do in Visual C++. So if I want a program that keeps my bread recipes in order, and I don't mention anything about Visual C++, how does that help the discussion? You need to ask a specific question pertaining to Visual C++. If you have a problem declaring something, a struct is not defined when you compile, a missing header that should be there, etc. then ask about that.
As to your question:
I only have the MBR of my Hard Disk now I need to know in what sector is the boot sector to read this but I don't know how to find with the CHS. How to find the boot sector through LBA?
The answer to that need not even be a program, regardless of the language. It could just as well be a basic description of what to do in general.
Last edited by Paul McKenzie; April 29th, 2012 at 07:55 PM.