TestEGr 1.5f2 :
- aggiunta gestione salvataggio testo compresso (2).
This commit is contained in:
BIN
Binary file not shown.
@@ -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
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user