TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: BJOERNAR JENSEN
date: 1997-12-01 22:51:00
subject: Re: absread()

>> I'm new to c++ and I'm trying to read the first sector on 'c drive' using
>> absread. This because absread is supposed to read the sector(s) you tell 
t
>> read regardless FAT, directories and files..
>> char buf[16384];
> Dos the OS you're using use 16k sectors? My OS uses 32k by default.
Yes, but I don't think thats the problem. I believe that the error(s) is/are 
connected to this line:
void absread(int drive, int nsects, long lsect, void *buffer)
                                                ^^^^^^^^^^^^^
Bjoernar Jensen
--- BBBS/L v3.33 How
---------------
* Origin: Errors HQ: Prog/Emul/Linux/Demos, +47-56341083 (2:211/16)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.