Solved

fseek equivalent for large files (>5GB) on MSVC 2002 .NET

Posted on 2008-09-30
3
399 Views
Last Modified: 2013-11-07
Hi,
 Our code needs to provide access to fseek/ftell like APIs for files of arbitrary size using MSVC++ .NET 2002.
 The perfect analogues on MSVC 2005 is _fseeki64 and _ftelli64. However, these are not available in VS 2002. All we have are low level equivalents _lseeki64 and _telli64. Unfortunately, user code calls buffered I/O routines such as fgetc. Hence while using _lseeki64 we've faced too many problems and inconsistent results.
 We are looking for buffered equivalents for _fseeki64 and _ftelli64 that work on large files. User must be able to use the usual SEEK_SET, SEEK_END and SEEK_CUR consistently with this fseek implementation. Has anyone faced this problem before?

Thanks,
Raj
0
Comment
Question by:deltheta
3 Comments
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 125 total points
ID: 22611847
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question