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:
+15
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user