Quote:
Originally Posted by StainlessS
EDIT: I have SDK 2003 installed but can find no docs on _fseek64 and so thought it was not available, also searched include directory.
It does exist in the src\crt\ directory (header an source) , dont know if that means that it is included in libs or not (I assume it is), I shall have to investigate.
|
Functions like
_fseeki64(),
_ftelli64() and
_fstati64() are from the C-Runtime (CRT),
not the Win32 API, and thus will
not be found in the Win32 SDK.
And you don't need to link a special library for those CRT functions, because the VC linker will link against the suitable MSVCRT
xxx.DLL automatically, unless you explicitly prevent linking of that library.
The CRT headers should be in "VS_INSTALL_PATH\VC\include" (at least that's how it is with recent VisualStudio). Simply include
<sys/stat.h> to get
_fstati64(), for example.