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.
|