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. |
21st November 2014, 00:20 | #1 | Link |
HeartlessS Usurer
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 ??? |
Tags |
file system, large file support |
Thread Tools | Search this Thread |
Display Modes | |
|
|