WRAPPER_API void CommitToFile()
WRAPPER_API void CommitToFile(const BmgChar *fileName)
Saves the view to a file.
void DataView_CommitToFile(GEOCALCPBW_NAMESPACE::DataView & dataView)
{
long folderID = 100;
if (!dataView.RemoveFolder(folderID ))
{
AfxMessageBox("RemoveFolder failed");
}
if(! dataView.CommitToFile())
{
AfxMessageBox(CString("unable to save dataview to ") + CString(_tochar(dataView.get_FileName()).c_str()));
}
}