Solved

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

Posted on 2008-09-30
3
397 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now