Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Forces any data remaining in the file buffer to be written to the file.
virtual void Flush( );
Remarks
The use of Flush does not guarantee flushing of CArchive buffers. If you are using an archive, call CArchive::Flush first.
Example
See the example for CFile::SetFilePath.
Requirements
Header: afx.h