EgtExecutor 2.1k6 :

- aggiunta gestione libreria di Nesting Automatico e relativa protezione
- aggiunta funzione ExeSetLineAttribs per impostare spessore linee in grafica.
This commit is contained in:
Dario Sassi
2019-12-02 07:31:22 +00:00
parent 3506992605
commit 0d337c6aad
11 changed files with 615 additions and 3 deletions
+15 -1
View File
@@ -7,7 +7,7 @@
//
//
// Modifiche : 01.09.14 DS Creazione modulo.
//
// 28.11.19 DS Aggiunto caricamento opzionale del Nesting.
//
//----------------------------------------------------------------------------
@@ -18,6 +18,7 @@
#include "DllGraphics.h"
#include "DllExchange.h"
#include "DllMachKernel.h"
#include "DllNesting.h"
#include "/EgtDev/Include/EXeExecutor.h"
#include "/EgtDev/Include/EXeDllMain.h"
#include "/EgtDev/Include/EGnDllMain.h"
@@ -46,6 +47,7 @@ static string s_sKey ;
static int s_nKeyType = KEY_LOCK_TYPE_ANY ;
static int s_nKeyExpDays = 0 ;
static int s_nKeyOptExpDays = 0 ;
static string s_sNestKey ;
static string s_sIniFile ;
static bool s_bEnableUI = true ;
static pfProcEvents s_pFunProcEvents = nullptr ;
@@ -106,6 +108,10 @@ ExeInit( int nDebug, const string& sLogFile, const string& sLogMsg)
if ( LoadMachKernelDll( s_pGenLog, s_sKey))
LOG_INFO( s_pGenLog, MyGetEMkVersion())
// carico libreria neting opzionale
if ( LoadNestingDll( s_pGenLog, s_sKey, s_sNestKey))
LOG_INFO( s_pGenLog, MyGetENsVersion())
// Info sulla protezione e sul sistema
string sTmp ;
if ( ExeGetKeyInfo( sTmp))
@@ -194,6 +200,14 @@ ExeSetKey( const string& sKey)
return true ;
}
//-----------------------------------------------------------------------------
bool
ExeSetNestKey( const string& sNestKey)
{
s_sNestKey = sNestKey ;
return true ;
}
//-----------------------------------------------------------------------------
bool
ExeSetLockType( int nType)