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?
Printable View
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?
And what does it have to do with Visual C++ programming? :confused:
:thumbd::mad:What a DUMB question!!! <<comment removed by admin >>Is obvius is OF COURSE that is possible to read and write in the first sector of a hard disk using MSVC!!!:thumbd::mad:
Calling the people you are asking for help dumb isn't really helping...
Yes it's possible but if you run under anything NT based it's not possible to do that from user space.
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:
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.Quote:
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?
Regards,
Paul McKenzie