[comp.sys.ibm.pc.programmer] Borland C++ 2.0 absread

cs106132@umbc5.umbc.edu (cs106132) (05/08/91)

   Hi,
did anyone have a problem with the absread () routine that comes with
Borland C++ 2.0?  I cannot seem to be able to read the boot sector off
of a hard disk (30M), DOS 3.3).  The funny thing is that, the same code
works just fine when compiled using Turbo C 2.0.  If it did not work
under TC2.0, I would say I got another bug somewhere, but that is not the
case.  Please let me know if anyone has had a similar experience.

Regards,
Tarkan
e-mail:  cs106132@umbc5.umbc.edu

cs106132@umbc5.umbc.edu (cs106132) (05/09/91)

   Hi,
I just got the patches for the BC++ 2.0 and applied them.  They were supposed
to fix some other problems that had nothing to do with the absread() routine.
But the problem with absread () also gone away.  Are there any more patches 
or bugs out there?  I used BC2PAT1.zip from simtel.  If anyone had any
experience with this, please let me know.

Regards,
Tarkan
e-mail:  cs106132@umbc5.umbc.edu

frankr@hpdmd48.boi.hp.com (Frank Root ) (05/19/91)

There is a problem with the Borland C++ absread().  After spending
an entire night trying to get it to work I found that the DOS
interrupt utilities for absolute read and write handle the
arguments differently depending on the DOS version ie. 3.3 vs 4.01.
I ended up writing my own AbsRead() and AbsWrite().  I'm at home
now and the code is on my machine at the office.  I'll post the
source when I get back from Comdex.

Frank Root, Boise