CFile::GetLength

Call this member function to obtain the current logical length of the file in bytes, not the amount.

Syntax

virtual DWORD GetLength( ) const;
throw( CFileException );

At a Glance

Header File Afx.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CFile Overview, CFile Member Functions, File Service Classes, CFile::SetLength