Solved

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

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

744 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

11 Experts available now in Live!

Get 1:1 Help Now