diff --git a/EgtGeomKernel.rc b/EgtGeomKernel.rc index 2f5566b..835aefe 100644 Binary files a/EgtGeomKernel.rc and b/EgtGeomKernel.rc differ diff --git a/GeomDB.cpp b/GeomDB.cpp index 8fa03b0..26f79fe 100644 --- a/GeomDB.cpp +++ b/GeomDB.cpp @@ -283,8 +283,8 @@ GeomDB::Save( int nId, const string& sFileOut, int nFlag) const int nRet = GetEGnKeyOptions( KEY_BASELIB_PROD, KEY_BASELIB_VER, KEY_BASELIB_LEV, nOpt1, nOpt2, nOptExpDays) ; if ( ! GetEGkNetHwKey()) - int nRet = GetKeyOptions( GetEGkKey(), KEY_BASELIB_PROD, KEY_BASELIB_VER, KEY_BASELIB_LEV, - nOpt1, nOpt2, nOptExpDays) ; + nRet = GetKeyOptions( GetEGkKey(), KEY_BASELIB_PROD, KEY_BASELIB_VER, KEY_BASELIB_LEV, + nOpt1, nOpt2, nOptExpDays) ; // controllo i risultati if ( nRet != KEY_OK) { string sErr = "Error on Key (GKS/" + ToString( nRet) + ")" ; @@ -397,8 +397,8 @@ GeomDB::Save( const INTVECTOR& vId, const string& sFileOut, int nFlag) const int nRet = GetEGnKeyOptions( KEY_BASELIB_PROD, KEY_BASELIB_VER, KEY_BASELIB_LEV, nOpt1, nOpt2, nOptExpDays) ; if ( ! GetEGkNetHwKey()) - int nRet = GetKeyOptions( GetEGkKey(), KEY_BASELIB_PROD, KEY_BASELIB_VER, KEY_BASELIB_LEV, - nOpt1, nOpt2, nOptExpDays) ; + nRet = GetKeyOptions( GetEGkKey(), KEY_BASELIB_PROD, KEY_BASELIB_VER, KEY_BASELIB_LEV, + nOpt1, nOpt2, nOptExpDays) ; // controllo i risultati if ( nRet != KEY_OK) { string sErr = "Error on Key (GKS/" + ToString( nRet) + ")" ;