Each call of Licence Protector 5 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 |
lpLicencePassed |
No error occurred |
1 |
lpLicenceDemoMode |
This version of %modulname% is a demo version |
2 |
lpLicFileNotRegistered |
The license file %filename% could not be found or was not opened |
3 |
lpModuleIsNo |
Module $1 is set to 'no' |
4 |
lpDoNoContinue |
Do not continue. This can e.g. happen if a product activation was not successful |
lpLicenceExpired |
The license of %modulname% has expired |
|
lpDemolicenceExpired |
The demo license of %modulname% has expired. Flag Demoversion is set to true |
|
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 |
300 |
lpModuleIsLocked |
The license is locked |
512 |
lpInvalidLicence |
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 to 3099 |
Errors in combination with the Activation Server 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%. |
lpInsufficientlicense |
The operation is not covered with your license / Edition - e.g. with a Starter Edition you try to add multiple modules or use a copy protection which is not possible with your Edition |
|
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 6 error codes
Other Errors
If found no answer for my questions