EgtExecutor 1.6s3 :

- aggiunta ExeGetKeyLevel.
This commit is contained in:
Dario Sassi
2016-07-13 09:37:54 +00:00
parent 03b0f4a680
commit f63ced2df2
2 changed files with 16 additions and 0 deletions
+16
View File
@@ -297,6 +297,22 @@ ExeGetKeyInfo( string& sKey)
return true ;
}
//-----------------------------------------------------------------------------
bool
ExeGetKeyLevel( int nProd, int nVer, int nLev, int& nKLev)
{
// verifico la chiave e il livello
int nExpDays ;
int nRet = GetKeyLevel( s_sKey, nProd, nVer, nLev, nKLev, nExpDays) ;
if ( nRet != KEY_OK) {
string sErr = "Error on Key (EGKL/" + ToString( nRet) + ")" ;
LOG_ERROR( s_pGenLog, sErr.c_str()) ;
return false ;
}
return true ;
}
//-----------------------------------------------------------------------------
bool
ExeGetKeyOptions( int nProd, int nVer, int nLev, unsigned int& nOpt2)
BIN
View File
Binary file not shown.