|
|
||
Each call of Licence Protector gives you a return code. The following return codes are supported. You can use the constant value in your Source code instead of the return code.
The function GetErrorMessage gives an appropriate error message for each return code which could be used in the user dialog.
Return Code
|
Short description Constant value in the DLL |
Error Message |
0 |
lplicensePassed |
No error occurred |
1 |
lplicenseDemoMode |
This version of %modulname% is a demo version |
2 |
lpLicFileNotRegistered |
The license file %filename% could not be found or was not opened |
3 |
lp ModuleIsNo |
Module $1 is set to 'no' |
4 |
lpDoNoContinue |
Do not continue. This can e.g. happen if a product activation was not successful |
16 |
lplicenseExpired |
The license of %modulname% has expired |
17 |
lpDemolicenseExpired |
The demo license of %modulname% has expired |
32 |
lpTooManyModuleUser |
There is no free license of %modulname% available |
64 |
lpUserIsDeactivated |
The license of user %username% was deactivated. Please contact your system administrator |
128 |
lpNoLicFileAccess |
The license file %filename% could not be accessed, e.g. the user has no write permission |
256 |
lpModuleNotFound |
The module %ModuleID% could not be found in the license file |
257 |
lpKeyAlreadyUsed |
This Activation KeyActivation Key was already used. Request a new license key |
258 |
lpKeyNotReadable |
The Activation KeyActivation Key could not be read |
512 |
Ipinvalidlicense |
The license file is damaged or incomplete |
1024 |
lpInvalidInstCode |
This is a copy protection violation. The Installation Code of the license file doesn’t match with the %ID%. See common reasons for this error |
2048 |
lpInvalidLicFile |
The file %filename% is not a valid license file |
3001 |
lsWebserviceError |
see Activation Server error codes |
3002 |
lpwLoadConfigFailed |
see Activation Server error codes |
3003 |
lpwUnsufficientProjectData |
see Activation Server error codes |
3004 |
lpwUnknownInstCodeType |
see Activation Server error codes |
3005 |
lpwNoProjects |
see Activation Server error codes |
3006 |
lpwBadInput |
see Activation Server error codes |
3007 |
lpwUnknownRequesttype |
see Activation Server error codes |
3008 |
lpwStoreError |
seeActivation Server error codes |
3009 |
lpwDatabaseError |
seeActivation Server error codes |
3010 |
lpwKeyAlreadyUsed |
the key was already used or is locked - See common reasons for this error |
3011 |
lpwUnknownProject |
see Activation Server error codes |
3012 |
lpwBadALGOutput |
see Web Activation Documentation |
3013 |
lpwALGfailed |
Automatic License Generator failed - see common reasons for this error |
3014 |
lpwSecurityError |
time difference between server and client is critical - see details |
3015 |
lpwKeyDoesNotExist |
see Activation Server error codes |
3016 |
lpwLoadOutputFailed |
see Activation Server error codes |
3017 |
lpwNoOutput |
see Activation Server error codes |
3018 |
lpwKeyIsLocked |
see Activation Server error codes |
3020 |
lpwFilteredByBlacklist |
see Activation Server error codes |
3030 |
lpwDeactivationNotPossible |
see Activation Server error codes |
4096 |
lpNoUser |
The user name for the module %ModuleID% %modulname% is missing |
4097 |
lpNoItem |
The item name for the module %ModuleID% %modulname% is missing |
4098 |
lpEntryNotFound |
Entry in module %ModuleID% could not be found. |
4099 |
lpInvalidType |
Invalid type of module %ModuleID%. |
4100 |
lpModuleExists |
Module %ModuleID% already exists. |
4101 |
lpInvalidParameter |
Invalid Parameter %Parametername%. |
4102 |
lpInsufficientlicense |
Insufficient licenseProtector-license. |
5000 |
lpUserCancel |
User cancel. |
8192 |
lpUnsupportedVersion |
This version of the license file %filename% is not supported |
8193 |
lpUnknownLanguage |
This language is not supported. |
8194 |
lpNotImplemented |
Not available in this version |
16382 |
lpSysdateChanged |
The system date was tampered and the application is locked. You can unlock the application with an Activation KeyActivation Key. |
16383 |
lpLicTampered |
The license file was tampered! See Tamper Detection - Reset Application |
16384 |
lpUnhandledError |
This is an unknown error. Click here for possible reasons for this error. |
See also
Return codes Automatic License Generator
Activation Server error codes
Other Errors
If found no answer for my questions