KeyGenerator 2.3a1 :
- aggiornamento per gestire versione come VVmm.
This commit is contained in:
+4
-4
@@ -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 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user