Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2008-09-30
3
Medium Priority
?
406 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 55

Accepted Solution

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

Featured Post

How to Create Failover DNS Record Sets in Route 53

Route 53 has the ability to easily configure DNS record sets specifically for failover scenarios. These failover record sets can be configured to failover to full-blown deployments in other regions or to a static HTML page that informs your customers of the issue.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

660 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