TestEGr 1.5i3 :

- modifiche per chiave di protezione.
This commit is contained in:
Dario Sassi
2014-09-15 07:07:07 +00:00
parent 1c6948a6f9
commit c1a168571c
2 changed files with 6 additions and 4 deletions
+6 -4
View File
@@ -99,9 +99,13 @@ CTestEGrApp::InitInstance( void)
SetEExLogger( &logGen) ;
SetEGrLogger( &logGen) ;
// imposto la chiave di protezione
string sKey = GetPrivateProfileStringUtf8( "General", "Key", "", m_pszProfileName) ;
SetEGkKey( sKey) ;
// inizializzo il font manager
string sNfeFontDir = GetPrivateProfileStringUtf8( "GeomDB", "NfeFontDir", "", sFileIni.c_str()) ;
string sDefaultFont = GetPrivateProfileStringUtf8( "GeomDB", "DefaultFont", "", sFileIni.c_str()) ;
string sNfeFontDir = GetPrivateProfileStringUtf8( "GeomDB", "NfeFontDir", "", m_pszProfileName) ;
string sDefaultFont = GetPrivateProfileStringUtf8( "GeomDB", "DefaultFont", "", m_pszProfileName) ;
InitFontManager( sNfeFontDir, sDefaultFont) ;
// inizio programma
@@ -147,8 +151,6 @@ string
GetExeNameVer( void)
{
string sVer ;
GetModuleVersion( NULL, sVer) ;
return string( STR_EXE " ver." + sVer) ;
}
BIN
View File
Binary file not shown.