File operations(fseek and ftell) - More than 2 gb support (kindly reply immediately)

Discussion in 'C' started by ragaven, Jan 19, 2010.

  1. ragaven

    ragaven New Member

    Aug 1, 2008
    Likes Received:
    Trophy Points:
    Hi All,

    Please find that the file operations fseek and ftell fail for files more than 2 gb. There are system calls _fseeki64 and _ftelli64 to support more than 2 gb in VC8. But there are no such APIs in VC6.
    The same functionalities are provided by _lseeki64 and _telli64 system calls in VC6. But these are low level I/O routines, which require a file handle obtained by another low level routine(_open). Moreover, Not all the functionalities of buffered I/O are provided by non - buffered I/O.
    Please let me know,Is there any other better solution to support files more than 2 gb using system calls availbale in VC6.

    Thanks in Advance!!

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice