Call this member function to get the length, in bytes, of the found file.
virtual ULONGLONG GetLength( ) const;
The length, in bytes, of the found file.
GetLength uses the Win32 structure WIN32_FIND_DATA to get the value of the file size in bytes.
Note As of MFC 7.0, GetLength supports 64-bit integer types. Previously-existing code built with this newer version of the library may result in truncation warnings.
See the example for CFile::GetLength (the base class implementation).