diff --git a/KeyGenerator.cpp b/KeyGenerator.cpp index 1689584..7b8f276 100644 --- a/KeyGenerator.cpp +++ b/KeyGenerator.cpp @@ -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, 2601, 10) != KEY_OK) { + if ( VerifyKey( sKey, 823, 2701, 10) != KEY_OK) { m_nExitCode = 1 ; return FALSE ; } diff --git a/KeyGenerator.rc b/KeyGenerator.rc index f5ec157..b07d6f1 100644 Binary files a/KeyGenerator.rc and b/KeyGenerator.rc differ diff --git a/KeyGenerator.vcxproj b/KeyGenerator.vcxproj index bf2b21f..91ebb62 100644 --- a/KeyGenerator.vcxproj +++ b/KeyGenerator.vcxproj @@ -14,7 +14,7 @@ {0516D641-6731-48BE-AC94-C9E957D371B6} KeyGenerator MFCProj - 10.0.17763.0 + 10.0 @@ -22,7 +22,7 @@ true Unicode Dynamic - v141_xp + v143 Application @@ -30,7 +30,7 @@ true Unicode Dynamic - v141_xp + v143 @@ -63,6 +63,7 @@ Disabled WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions) ProgramDatabase + stdcpp17 Windows @@ -94,6 +95,7 @@ AnySuitable Speed StreamingSIMDExtensions2 + stdcpp17 Windows diff --git a/KeyGeneratorDlg.cpp b/KeyGeneratorDlg.cpp index 523f0a0..7e97383 100644 --- a/KeyGeneratorDlg.cpp +++ b/KeyGeneratorDlg.cpp @@ -1,7 +1,7 @@ //---------------------------------------------------------------------------- -// EgalTech 2013-2024 +// EgalTech 2013-2025 //---------------------------------------------------------------------------- -// File : KeyGeneratorDlg.cpp Data : 05.10.24 Versione : 2.6j1 +// File : KeyGeneratorDlg.cpp Data : 13.01.25 Versione : 2.7a1 // Contenuto : Implementazione della classe dialogo generatore chiavi. // // @@ -14,6 +14,7 @@ // 09.10.23 DS Aggiunta gestione chiave di rete con LockId contenente AddrPort dopo @. // 05.01.24 DS Aggiunta versione 26. // 05.10.24 DS Aggiunto Effector. +// 13.01.25 DS Aggiunta versione 27. // //---------------------------------------------------------------------------- @@ -50,7 +51,7 @@ static const vector vsProd = { "9935" // EgtEngine } ; // altri valori : 463, 719, 975, 1487, 2255, 2511, 3535, 4559, 9679 (max 9999 e deve contenere i bit di 207) static const vector vsVer = { - "26", "25", "24", "23", "22", "21", "19", "18", "16", "15" + "27", "26", "25", "24", "23", "22", "21", "19", "18", "16", "15" } ; static const vector vsSubVer = { "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "" diff --git a/stdafx.h b/stdafx.h index 4561b47..eada07f 100644 --- a/stdafx.h +++ b/stdafx.h @@ -13,6 +13,8 @@ #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #endif +#define NOMINMAX + #include "/EgtDev/Include/EgtTargetVer.h" #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit @@ -23,11 +25,8 @@ #include // MFC core and standard components #include // MFC extensions - #include // MFC Automation classes - - #ifndef _AFX_NO_OLE_SUPPORT #include // MFC support for Internet Explorer 4 Common Controls #endif @@ -37,12 +36,10 @@ #include // MFC support for ribbons and control bars - #include "/EgtDev/Include/EgtLibVer.h" #pragma comment(lib, EGTLIBDIR "EgtGeneral" EGTLIBVER ".lib") #pragma comment(lib, EGTLIBDIR "SEgtLock" EGTLIBVER ".lib") - #ifdef _UNICODE #if defined _M_IX86 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")