What does the following error code mean?

Category: Software Locks-Error Codes

Answer: See list below.

  • /** general error return codes ***/
  • //--NOTE: These errors can come from any function listed below
  • #define FILE_INFO_FAIL -100
  • #define NETWORK_DISCONNECTED -101
  • #define NETWORK_NO_CKSERVE -102
  • #define NETWORK_BAD_REPLY -103
  • // currently only checked on Win32, DOS and Windows will add this saftey check later
  • #define INIT_NOT_SUCCEEDED -104
  • #define THUNK_FAILURE -105 // Can't find the thunk DLLs (only on Win32)
  • #define BAD_THUNK -106 // DLL has been replaced with impostor
  • #define NO_MEMORY -107 // some malloc did not work
  • #define OLD_THUNK -108 // DLL has been replaced with older version //Or older version is already running
  • #define THUNK_BLOCKED -109 // THUNK dll is being used but not released // by another app
  • #define NETWORK_BAD_CRC -110
  • #define INIT_NOT_CALLED -111 //all functions require init to be called
  • #define EASYLIC_OPERATION_NOT_ALLOWED -112

  • /** return codes for init_crypkey() **/
  • #define INIT_OK 0
  • #define INIT_FILE_NOT_FOUND -1
  • #define INIT_MASTERKEY_CRC_FAILURE -2
  • #define INIT_BAD_PRODUCT_NAME -3
  • #define INIT_KEYFILE_CREATION_FAIL -4
  • #define INIT_NETWORK_NOT_PURCHASED -5
  • #define INIT_NT_NOT_PURCHASED -6
  • #define INIT_NT32BIT_NOT_PURCHASED -7
  • #define INIT_WIN95_NOT_PURCHASED -8
  • #define INIT_WIN32S_NOT_PURCHASED -9
  • // currently only checked on Win32, DOS and Windows will add this saftey check later
  • #define INIT_MULTIPLE_CALL_TO_INIT -10
  • #define INIT_THUNK_LIB_NOT_FOUND -11 // only on Win32
  • #define INIT_THUNK32_DDL_CORRUPT -12 // only on Win32
  • #define INIT_THUNK16_DDL_CORRUPT -13 // only on Win32
  • #define INIT_32_DDL_CORRUPT -14 // only on Win32
  • #define INIT_THUNK32_DDL_VERSION -15 // only on Win32
  • #define INIT_THUNK16_DDL_VERSION -16 // only on Win32
  • #define INIT_THUNK32_DDL_TAMPERED -17 // only on Win32 (size)
  • #define INIT_THUNK16_DDL_TAMPERED -18 // only on Win32 (size)
  • #define INIT_THUNK32_DDL_UNKNOWN_ERR -19 // only on Win32
  • #define INIT_THUNK16_DDL_UNKNOWN_ERR -20 // only on Win32
  • #define INIT_PRE_V6_MASTERKEY -21 //only Win32
  • #define INIT_NGN_VERSION_OUTDATED -22 //
  • #define INIT_NGN_FILE_NOT_FOUND -23 //only Win32

  • /** return codes for get authorization() **/
  • #define AUTH_OK 0
  • #define AUTH_INIT_FAIL -1
  • #define AUTH_DISALLOW_FLOPPY -2
  • #define AUTH_BAD_PATH -3
  • #define AUTH_NOT_PRESENT -4
  • #define AUTH_DIFFERENT -5
  • #define AUTH_BAD_MASTERKEY -6
  • #define AUTH_SITEKEY_CRC -7
  • #define AUTH_TIME_TOO_EARLY -8
  • #define AUTH_TIME_SETBACK -9
  • #define AUTH_TIME_RUNOUT -10
  • #define AUTH_RUNS_RESTR -11
  • #define AUTH_NOT_ENOUGH_RUNS -12
  • #define MISSING_RST_FILE -13
  • #define AUTH_MISSING_RST_FILE -13
  • #define RST_BAD_CRC -14
  • #define AUTH_RST_BAD_CRC -14
  • #define RST_BAD_LOCATION -15
  • #define AUTH_RST_BAD_LOCATION -15
  • #define ENTRY_CHECK_FAIL -16
  • #define AUTH_ENTRY_CHECK_FAIL -16
  • #define AUTH_NETTABLEFILE_FAIL -17
  • #define AUTH_NETMAX_EXCEEDED -18
  • #define AUTH_NETWORK_NOT_ALLOWED -19
  • #define AUTH_RSTFILE_WRITE_PROTECT -20
  • #define AUTH_TIME_CLOCK_TAMPERING -21
  • #define KEY_BAD_LOCATION -22
  • #define AUTH_NGN_VERSION_OUTDATED -23

  • /** return codes for get_site_code() **/
  • #define GSC_OK 0
  • #define GSC_CRYPKEY_NOT_INITIALIZED -1
  • #define GSC_ENTRY_FILEOPEN_FAIL -2

  • /** return codes for save_site_key() **/
  • #define SITE_KEY_OK 0
  • #define SITE_KEY_ENTRY_CHECK_FAIL -1
  • #define SITE_KEY_ENTRY_CRC_FAIL -2
  • #define SITE_KEY_FILEWRITE_FAILURE -3
  • #define SITE_KEY_NO_LICENSE_TO_ADD_TO -4
  • #define SITE_KEY_WRONG_ADD_ON_TYPE -5

  • /** return codes for register_transfer() **/
  • #define REG_OK 0
  • #define REG_THIS_ALREADY_AUTHORIZED -1
  • #define REG_COULDNOT_OPEN_TARGET_REGFILE -2
  • #define REG_TARGET_ALREADY_REGISTERED -3
  • #define REG_SOURCE_ALREADY_REGISTERED -4
  • #define REG_CANNOT_OPEN_REGFILE -5
  • #define REG_CANNOT_WRITE_REGFILE -6

  • /** return codes for transfer_out() **/
  • #define TO_OK 0
  • #define TO_THIS_NOT_AUTHORIZED -1
  • #define TO_REGFILE_NOT_FOUND -2
  • #define TO_REGFILE_CRC_FAILURE -3
  • #define TO_DIFFERENT_APPLICATION -4
  • #define TO_TARGET_ALREADY_HAS_LICENSE -5
  • #define TO_SITEKEYFILE_NOT_FOUND -6
  • #define TO_COULDNOT_WRITE_SITEKEYFILE -7
  • #define TO_RSTKEYFILE_NOT_FOUND -8
  • #define TO_COULDNOT_WRITE_RSTKEYFILE -9
  • #define TO_COULDNOT_WRITE_REGKEYFILE -10
  • #define TO_SOURCE_WRITE_PROTECTED -11

  • /** return codes for transfer_in() **/
  • #define TI_OK 0
  • #define TI_THIS_ALREADY_AUTHORIZED -1
  • #define TI_HARDDISK_REGFILE_NOT_FOUND -2
  • #define TI_HARDDISK_REGFILE_CRC_FAILURE -3
  • #define TI_REGFILE_NOT_FOUND -4
  • #define TI_REGFILE_CRC_FAILURE -5
  • #define TI_HARDDISK_REGFILE_MOVED -6
  • #define TI_REG_FILES_DONT_MATCH -7
  • #define TI_SOURCE_HAS_NO_LICENSE -8
  • #define TI_SITEKEYFILE_NOT_FOUND -9
  • #define TI_DIFFERENT_SITEKEY -10
  • #define TI_COULDNOT_WRITE_SITEKEYFILE -11
  • #define TI_RSTKEYFILE_NOT_FOUND -12
  • #define TI_DIFFERENT_RSTFILE -13
  • #define TI_COULDNOT_WRITE_RSTKEYFILE -14

  • /** return codes for direct_transfer() **/
  • /#define DT_OK 0
  • /#define DT_THIS_NOT_AUTHORIZED -1
  • /#define DT_TARGET_APP_NOT_FOUND -2
  • /#define DT_FLOPPY_NOT_ALLOWED -3
  • /#define DT_SITEKEYFILE_NOT_FOUND -4
  • /#define DT_RSTKEYFILE_NOT_FOUND -5
  • /#define DT_COULDNOT_WRITE_SITEKEYFILE -6
  • /#define DT_SOURCE_WRITE_PROTECTED -7
  • /#define DT_SOURCE_SAME_AS_TARGET -8
  • /#define DT_TARGET_HAS_LICENSE -9

  • /** return codes for AquireLicense **/
  • #define AL_OK 0
  • #define AL_SOURCE_NOT_AUTHORIZED -1
  • #define AL_TARGET_APP_NOT_FOUND -2
  • #define AL_FLOPPY_NOT_ALLOWED -3
  • #define AL_SITEKEYFILE_NOT_FOUND -4
  • #define AL_RSTKEYFILE_NOT_FOUND -5
  • #define AL_COULDNOT_WRITE_SITEKEYFILE -6
  • #define AL_TARGET_WRITE_PROTECTED -7
  • #define AL_SOURCE_SAME_AS_TARGET -8
  • #define AL_THIS_IS_AUTHORIZED -9
  • #define AL_LICENSE_SOURCE_NOT_FOUND -10
  • #define AL_COULD_NOT_INITIALIZE_SOURCE -11

  • /** return codes for readyToTry() **/
  • /**Note - Most of these error codes will never be seen - they are only given so that you can report them to us if they occur. The only code you may be interested in is RTT_DONE_THIS, which will come up often, and signifies the trial license has already been given. If you get any other error, report it to us. **/
  • #define MAXRTT 120 //(This was not needed - NO LIMIT in VERSION4.3) for security //reasons, this was the max days/runs you could give
  • #define RTT_OK 0
  • #define RTT_COULD_NOT_GET_SITE_CODE -1
  • #define RTT_COULD_NOT_GET_SITE_KEY -2
  • #define RTT_COULD_NOT_SAVE_SITE_KEY -3
  • #define RTT_RESERVED_4 -4
  • #define RTT_BAD_DOS -5
  • #define RTT_BAD_TRUENAME -6
  • #define RTT_NO_REDIRECT -7
  • #define RTT_NO_DPB -8
  • #define RTT_NO_MEM -9
  • #define RTT_CANT_GET_CLUSTER -10
  • #define RTT_BAD_STAT -11
  • #define RTT_NO_ROOM -12
  • #define RTT_BAD_SECTOR_READ -13
  • #define RTT_BAD_SECTOR_WRITE -14
  • #define RTT_FILE_SEARCH -15
  • #define RTT_FILE_ACCESS -16
  • #define RTT_FILE_NOT_FOUND -17
  • #define RTT_FILE_OPEN -18
  • #define RTT_DONE_THIS -19
  • #define RTT_NO_SIG -20
  • #define RTT_NO_LISTFILE -21
  • #define RTT_CANT_FIND_DRIVE -22
  • #define RTT_NO_GOOD_PUTS -23
  • #define RTT_NO_REAL_DRIVE -24
  • #define RTT_32BIT_FILE_ACCESS -25
  • #define RTT_CLOSE_ALL_FILES -26
  • #define RTT_MAX_RTTREQ_EXCEEDED -27 //Max is currently set to 30 days or runs

  • /** return codes for KillLicense() **/
  • #define KL_OK 0
  • #define KL_CRYPKEY_NOT_INITIALIZED -1
  • #define KL_CRYPKEY_NOT_AUTHORIZED -2
  • #define KL_LICENSE_WRITE_PROTECTED -3

  • // HDSN Codes
  • #define HDSN_ERR_OK 0
  • #define HDSN_ERR_MULTIPLE_SCSI -1
  • #define HDSN_ERR_FAILURE -2
  • #define HDSN_ERR_BLANK_SERIAL -3
  • #define HDSN_ERR_NULL_SERIAL -4
  • #define HDSN_ERR_REPEATING_SERIAL -5
  • #define HDSN_ERR_NON_STANDARD_SERIAL -6
  • #define HDSN_ERR_DRIVE_NOT_SUPPORTED -7
  • #define HDSN_ERR_CALL_FAILURE -8
  • #define HDSN_ERR_REMOVABLE_DRIVE -9
  • #define HDSN_ERR_VXD_ERROR -10
  • #define HDSN_ERR_NO_ASPI -11
  • #define HDSN_ERR_SCSI_DRIVE -12
  • #define HDSN_ERR_UNSUPPORTED_OS -13
  • #define HDSN_ERR_KMD_NOT_LOADED -14
  • #define HDSN_ERR_RING_0_MODIFIED -15
  • #define HDSN_ERR_16BIT_WIN9x_UNSUPPORTED -16
  • #define HDSN_ERR_CODE_STUBBED_OUT -17
  • #define HDSN_ERR_OUTDATED_NT_DRIVER -18
  • #define HDSN_ERR_SYSFAIL -19
  • #define UNKNOWN_HDSN_ERRCODE -20

  • /** function codes for get1_rest_info() **/
  • #define G1_OUT_OF_RANGE -1

  • /** function codes for get_num_copies() **/
  • #define GNC_CRYPKEY_NOT_INITIALIZED -1

  • /** function codes for get_option() **/
  • #define OPTION_ON 1
  • #define OPTION_OFF 0
  • #define OPTION_UNAUTHORIZED -1

  • /** function codes for get_restriction_info() **/
  • #define GRI_OK 0
  • #define GRI_INVALID -1

  • /** function codes for FloatingLicenseSnapShot **/
  • #define FLS_NO_NETWORK_LICENSE -1
  • #define FLS_NETWORK_TABLE_NOT_FOUND -2
  • #define FLS_COULDNOT_OPEN_USERTABLE_FILE -3
  • #define FLS_BUFFER_TOO_SMALL -4

  • /** function codes for explain_err() **/
  • #define EXP_AUTH_ERR 1 // get_authorization() errcodes
  • #define EXP_GET_SITECODE_ERR 2 // save_site_key() errcodes
  • #define EXP_SAVE_SITEKEY_ERR 3 // save_site_key() errcodes
  • #define EXP_REG_ERR 4 // register_transfer() errorcodes
  • #define EXP_TO_ERR 5 // transfer_out() errorcodes
  • #define EXP_TI_ERR 6 // transfer_in() errorcodes
  • #define EXP_DT_ERR 7 // direct_transfer() errorcodes
  • #define EXP_INIT_ERR 8 // init_crypkey() errorcodes
  • #define EXP_RTT_ERR 9 // readyToTry() errorcodes
  • #define EXP_KL_ERR 10 // readyToTry() errorcodes
  • #define EXP_AL_ERR 11 // AquireLicense() errorcodes
  • #define EXP_AL_ERR 11 // AquireLicense() errorcodes
  • #define EXP_HDSN_ERR 12 //GetDrivePermanentSerialData()
  • #define EXP_FLS_ERR 13 // FloatingLicenseSnapshot() errorcodes