KeyGenerator 2.3a1 :

- aggiornamento per gestire versione come VVmm.
This commit is contained in:
Dario Sassi
2020-12-28 18:57:02 +00:00
parent 3a401e3b40
commit 982862e6b5
5 changed files with 71 additions and 29 deletions
+4 -4
View File
@@ -1,7 +1,7 @@
//----------------------------------------------------------------------------
// EgalTech 2013-2014
// EgalTech 2013-2020
//----------------------------------------------------------------------------
// File : KeyGenerator.cpp Data : 11.09.14 Versione : 1.5i2
// File : KeyGenerator.cpp Data : 26.12.20 Versione : 2.2l1
// Contenuto : Implementazione della classe applicazione generatore chiavi.
//
//
@@ -25,7 +25,7 @@ using namespace std ;
//----------------------------------------------------------------------------
#ifdef _DEBUG
#define new DEBUG_NEW
#define new DEBUG_NEW
#endif
//--------------------------- Define -----------------------------------------
@@ -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, 16, 10) != KEY_OK) {
if ( VerifyKey( sKey, 823, 2301, 10) != KEY_OK) {
m_nExitCode = 1 ;
return FALSE ;
}