EgtGraphics 2.5e5 :

- migliorato controllo gestione chiave di rete.
This commit is contained in:
DarioS
2023-05-30 10:24:50 +02:00
parent 59ddf02887
commit 30b56dbfc8
5 changed files with 37 additions and 12 deletions
+2 -4
View File
@@ -29,10 +29,8 @@ IEgrImageMgr*
CreateEgrImageMgr( void)
{
// verifico la chiave e le opzioni
if ( ! GetEGrNetHwKey()) {
if ( ! TestKeyForEGr( GetEGrKey(), 0, GetEGrLogger()))
return nullptr ;
}
if ( ! VerifyKey( 0))
return nullptr ;
// creo l'oggetto
return static_cast<IEgrImageMgr*> ( new(nothrow) ImageMgr) ;
}