TestEGr 1.5f2 :

- aggiunta gestione salvataggio testo compresso (2).
This commit is contained in:
Dario Sassi
2014-06-18 07:22:47 +00:00
parent cfed31c177
commit c60c3d2fa3
3 changed files with 7 additions and 2 deletions
BIN
View File
Binary file not shown.
+5
View File
@@ -147,6 +147,8 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -176,6 +178,9 @@
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>false</OmitFramePointers>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
+2 -2
View File
@@ -1077,10 +1077,10 @@ CTestEGrDlg::FileSave( const string& sFilePath)
LOG_INFO( m_pLogGen, sInfo.c_str())
// recupero flag per salvatggio binario
bool bBin = ( GetPrivateProfileInt( "GeomDB", "BinarySave", 0, AfxGetApp()->m_pszProfileName) == 1) ;
int nSaveType = GetPrivateProfileInt( "GeomDB", "SaveType", 2, AfxGetApp()->m_pszProfileName) ;
// salvo il file
if ( ! m_pGeomDB->Save( sFilePath, bBin))
if ( ! m_pGeomDB->Save( sFilePath, nSaveType))
return false ;
// log dei comandi
LOG_INFO( m_pLogCmd, ( "SAVE( " + sFilePath + ")").c_str())