This documentation is archived and is not being maintained.

CArchive::GetFile 

Gets the CFile object pointer for this archive.


CFile* GetFile( ) const;

A constant pointer to the CFile object in use.

You must flush the archive before using GetFile.

extern CArchive ar;
const CFile* fp = ar.GetFile();
Show: