Subj : lseeki64 To : borland.public.cpp.borlandcpp From : Martin Phillips Date : Thu May 05 2005 06:41 pm I need to use the lseeki64 function for large data files but it's not in the Borland C 5.5 libraries. I tried the obvious (to me anyway!) of implib -c mylib \windows\system32\msvcrt.dll and declaring __int64 lseeki64( int handle, __int64 offset, int origin ); in my program. It builds ok but the function just returns -1 and errno = 0, apparently not actually being executed. Has anyone got this function to work from Borland C? If so, how? Martin Phillips Ladybridge Systems 17b Coldstream Lane, Hardingstone, Northampton NN4 6DB +44-(0)1604-709200 .