BJ> But it is. Just like your example. #include
BJ>
> Also, make sure that your target is a dos application.
BJ>
BJ> Done that, nothing wrong there.
Then your parameters are not being typecaset correctly.
int absread(int drive, int nsects, long lsect, void *buffer);
You should use it like
****
int int1, int2;
long long1;
char buffer[BUF_LEN];
absread(int1, int2, long1, (void*) buffer);
If you don't typecase your buffer as a (void*) then the
parameters do not match - and the function is not instantiated.
--- GEcho 1.00
---------------
* Origin: Digital OnLine Magazine! - (409)838-8237 (1:3811/350)
|