KeyGenerator 2.7a1 :

- ricompilazione per nuovo anno e con VS C++ 2022.
This commit is contained in:
Dario Sassi
2025-01-13 16:10:35 +01:00
parent 8beb113de9
commit 34d8014904
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -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 ;
}
BIN
View File
Binary file not shown.
+5 -3
View File
@@ -14,7 +14,7 @@
<ProjectGuid>{0516D641-6731-48BE-AC94-C9E957D371B6}</ProjectGuid>
<RootNamespace>KeyGenerator</RootNamespace>
<Keyword>MFCProj</Keyword>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -22,7 +22,7 @@
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Dynamic</UseOfMfc>
<PlatformToolset>v141_xp</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
@@ -30,7 +30,7 @@
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Dynamic</UseOfMfc>
<PlatformToolset>v141_xp</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
@@ -63,6 +63,7 @@
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
@@ -94,6 +95,7 @@
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
+4 -3
View File
@@ -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<string> 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<string> 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<string> vsSubVer = {
"01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", ""
+2 -5
View File
@@ -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 <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include <afxdisp.h> // MFC Automation classes
#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#endif
@@ -37,12 +36,10 @@
#include <afxcontrolbars.h> // 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='*'\"")