Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 21st November 2014, 00:20   #1  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
How do you tell how big a file is ?

Concerning Large File Support, How do you tell how big a BIG file is in Visual CPP 6.0 (1998) ?

I know that fpos_t is 8 bytes in size in VS6 without any kind of configuration (at least with 2003 Platform SDK
1st in include paths), and I know that I can use fsetpos and fgetpos both using fpos_t.

But, as I cannot use fseek (4 byte offset) with it's SEEK_SET, SEEK_CUR, SEEK_END, but I do need to seek to the end of file,
how can I find out how big a BIG file is, so I can seek to the end of file (equivalent to SEEK_END) when I dont know
how big the file is.

Can anybody assist here ?

I want to be able to write RT_Stats DBase and Array files bigger than 2GB.

Perhaps fseek SEEK_END actually does work on big files, can anybody clarify.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
 

Tags
file system, large file support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:57.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.