ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File size for files > 4Gb
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
F. Bluemers



Joined: 09 Mar 2006
Posts: 733
Location: Nederland

PostPost subject: Re: File size for files > 4Gb    Posted: Fri May 11, 2012 5:54 pm Reply to topic Reply with quote

Cardoso wrote:
Hi,
I
I came across the _filelength64() function but this func don't work with (FILE *) structure.
Can some please help me getting the file size of files bigger than 4GB?

You can use the _fileno() function to get the file handle from FILE,
with that you should be able to use _tell64() or filelengthi64()

http://msdn.microsoft.com/en-US/library/zs6wbdhx(v=vs.80)

Best
Fonzy
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Subject Author Date/Time
File size for files > 4Gb Alvaro Cardoso Fri May 11, 2012 2:45 pm
      Re: File size for files > 4Gb F. Bluemers Fri May 11, 2012 5:08 pm
            Re: File size for files > 4Gb Vincent Diepeveen Tue May 15, 2012 7:40 pm
      Re: File size for files > 4Gb F. Bluemers Fri May 11, 2012 5:54 pm
      Re: File size for files > 4Gb Vincent Diepeveen Tue May 15, 2012 7:36 pm
      Re: File size for files > 4Gb Vincent Diepeveen Tue May 15, 2012 7:47 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads