Solved

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

Posted on 2008-09-30
3
403 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 125 total points
ID: 22611847
0

Featured Post

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

734 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