Hi Saran!
> I'm trying to use _fseeki64 to read large files but getting linker error
> (undefined) though I link with msvcrt.lib.
_fseeki64 is only available starting with VC2005.
VC6/7 only has "_lseeki64":
See: _lseek, _lseeki64
http://msdn.microsoft.com/library/en-us/vclib/html/_crt__lseek.2c_._lseeki64.asp

Signature
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/