if(!f.Open(pFile,CFile::modeCreate|CFile::modeWrite)) { AfxMessageBox("Failed to save file!"); return; } else { CArchive ar(&f,CArchive::store); ar<<//Some vars. ar.Close(); f.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)