KeyGenerator 2.3e2 :
- aggiunta gestione codici per BeamWall.
This commit is contained in:
+1
-1
@@ -85,7 +85,7 @@ CKeyGeneratorApp::InitInstance( void)
|
||||
// verifico la protezione
|
||||
SetLockType( KEY_LOCK_TYPE_HW) ;
|
||||
string sKey = GetPrivateProfileStringUtf8( "General", "Key", "", m_pszProfileName) ;
|
||||
if ( VerifyKey( sKey, 823, 2301, 10) != KEY_OK) {
|
||||
if ( VerifyKey( sKey, 823, 2305, 10) != KEY_OK) {
|
||||
m_nExitCode = 1 ;
|
||||
return FALSE ;
|
||||
}
|
||||
|
||||
Binary file not shown.
+6
-5
@@ -1,13 +1,14 @@
|
||||
//----------------------------------------------------------------------------
|
||||
// EgalTech 2013-2019
|
||||
// EgalTech 2013-2021
|
||||
//----------------------------------------------------------------------------
|
||||
// File : KeyGeneratorDlg.cpp Data : 08.05.19 Versione : 2.1e1
|
||||
// File : KeyGeneratorDlg.cpp Data : 15.05.21 Versione : 2.3e2
|
||||
// Contenuto : Implementazione della classe dialogo generatore chiavi.
|
||||
//
|
||||
//
|
||||
//
|
||||
// Modifiche : 11.09.14 DS Creazione modulo.
|
||||
// 08.05.19 DS Portate Opzioni2 a 24.
|
||||
// 15.05.21 DS Aggiunto EgtBeamWall.
|
||||
//
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
@@ -35,9 +36,9 @@ using namespace std ;
|
||||
static const vector<string> vsProd = {
|
||||
"207", // librerie base
|
||||
"823", // generatore di licenze
|
||||
"1231", // vecchie librerie base
|
||||
"1231", // SarmaxWall (vecchie librerie base)
|
||||
"3279", // EgtCAM5
|
||||
"5327", // SarmaxWall
|
||||
"5327", // EgtBeamWall
|
||||
"9423" // OmagCUT
|
||||
} ; // altri valori : 463, 975, 1487, 2511, 3535, 4559, 5583 (max 9999 e deve contenere i bit di 207)
|
||||
static const vector<string> vsVer = {
|
||||
@@ -449,7 +450,7 @@ CKeyGeneratorDlg::OnGenerate( void)
|
||||
WritePrivateProfileInt( "Licence", "OptExpDays", nOptDays, AfxGetApp()->m_pszProfileName) ;
|
||||
// verifico la protezione
|
||||
string sPKey = GetPrivateProfileStringUtf8( "General", "Key", "", AfxGetApp()->m_pszProfileName) ;
|
||||
if ( VerifyKey( sPKey, 823, 16, 10) != KEY_OK)
|
||||
if ( VerifyKey( sPKey, 823, 2305, 10) != KEY_OK)
|
||||
return ;
|
||||
// calcolo la chiave
|
||||
if ( ! mKey.CalcKey()) {
|
||||
|
||||
Reference in New Issue
Block a user