This documentation is archived and is not being maintained.


Forces any data remaining in the file buffer to be written to the file.

virtual void Flush( );

The use of Flush does not guarantee flushing of CArchive buffers. If you are using an archive, call CArchive::Flush first.

See the example for CFile::SetFilePath.