关于获得文件大小的问题
msdn中关于获得文件大小的函数如下:
CFile::GetLength
virtual DWORD GetLength( ) const;
throw( CFileException );
Return Value
The length of the file.
Remarks
Obtains the current logical length of the file in bytes, not the amount.
它的解释是获得文件的逻辑长度,而不是全部,不知怎么获得文件的实际长度