diff --git a/EGnGetKeyData.h b/EGnGetKeyData.h index 66c9b73..6b050bd 100644 --- a/EGnGetKeyData.h +++ b/EGnGetKeyData.h @@ -31,3 +31,5 @@ EGN_EXPORT bool SetEGnKeyLevel( int nRet, int nKeyLev, int nKeyExpDays) ; EGN_EXPORT int GetEGnKeyLevel( int nProd, int nVer, int nLev, int& nKeyLev, int& nKeyExpDays) ; EGN_EXPORT bool SetEGnKeyOptions( int nRet, int nKeyOpt1, int nKeyOpt2, int nKeyOptExpDays) ; EGN_EXPORT int GetEGnKeyOptions( int nProd, int nVer, int nLev, unsigned int& nKeyOpt1, unsigned int& nKeyOpt2, int& nKeyOptExpDays) ; +// Interpretazione della stringa di LockId +EGN_EXPORT bool GetLockIdStringInfo( const std::string& sLockId, int& nKeyType, bool& bNetKey, int& nUserId) ; diff --git a/EXeExecutor.h b/EXeExecutor.h index b15a8ff..c88c7a0 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -55,7 +55,7 @@ EXE_EXPORT bool ExeGetExecutableVersion( std::string& sVer) ; EXE_EXPORT bool ExeGetVersionInfo( std::string& sVer, const char* szNewLine) ; EXE_EXPORT bool ExeGetKeyInfo( std::string& sKey) ; EXE_EXPORT bool ExeSetLockType( int nType) ; -EXE_EXPORT bool ExeSetLockId( std::string sLockId) ; +EXE_EXPORT bool ExeSetLockId( const std::string& sLockId) ; EXE_EXPORT bool ExeSetNetHwKey( bool bNetHwKey, int nUserId = 0) ; EXE_EXPORT bool ExeGetKeyLevel( int nProd, int nVer, int nLev, int& nKLev) ; EXE_EXPORT bool ExeGetKeyOptions( int nProd, int nVer, int nLev, unsigned int& nOpt2) ; diff --git a/EgtKeyCodes.h b/EgtKeyCodes.h index 924176b..5184ef5 100644 --- a/EgtKeyCodes.h +++ b/EgtKeyCodes.h @@ -24,7 +24,7 @@ //---------------------------------------------------------------------------- const int KEY_BASELIB_PROD = 207 ; -const int KEY_BASELIB_VER = 2505 ; +const int KEY_BASELIB_VER = 2506 ; const int KEY_BASELIB_LEV = 1 ; //----------------------------------------------------------------------------