Force data remaining in the file buffer to be written to the file.
BOOL Flush( )
TRUE for success and FALSE for error.
string strFile = "C:\\test.txt";
if( ff.Open(strFile, file::modeCreate | file::modeWrite) )
LPCSTR lpczFile = strFile;
ff.Write(&lpczFile, strFile.GetLength()); // Write the file name into the file.
ff.Flush(); // Make sure the file buffer has been written into the file.