Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

absread()

Status
Not open for further replies.

badari

Programmer
Mar 9, 2001
1
US
Hi,
I want to read a specified sector on a disk with C function absread(); But the compiler says it is not defined. I understood that it is dos only function that is why it is not working on windows compiler Borland C++ v5.5.
Can any body please tell me how to work with this or are there any other functions / classes in C++ for this functionality. The task is to read/ write at a specified place ( Sector) ignoring the logical structure of the disk.
 
This may be a problem of the OS.
With unix or NT it is not possible to access physical sectors on disk in usermode. You have to switch to kernelmode. That means you have to write a driver and include it into OS.


hnd
hasso55@yahoo.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top