How do you determine the size of a file (in C) for files that are larger than 4GB?
The code currently does this and the fgetpos does handle files larger than 4GB but the seek returns an error, so any idea how to seek to the end of a file >4GB? fpos_t currentpos; sok=fseek(fp,0,SEEK_END); assert(sok==0,"Seek error!"); fgetpos(fp,¤tpos); m_filesize=currentpos; ...