Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic


Gets the CFile object pointer for this archive.

CFile* GetFile( ) const;

Return Value

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();

See Also

CArchive Overview | Class Members | Hierarchy Chart | CArchive::Flush

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.