Licence Protector

Activate Copy Protection with DLL commands

Hide Navigation Pane

Activate Copy Protection with DLL commands

Previous topic Next topic  

Activate Copy Protection with DLL commands

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

 

The copy protection can be activated during the first program start just using DLL commands. This feature is handy if the software is delivered preinstalled on a PC.

 

Code Integration

 

SetLanguage - define language for all screens and error messages. Necessary even if you use own screens
Open the license file with PrepareAdvanced - implement an own error handling. Error 1024 (copy protection violation) should allow to type in an Activation Key to switch copy protection type. Use SecurityLevel and PrepareForce to open the file and ShowLicViewer or an own user interface to provide the necessary information
Now test the main module with ValidateEX or ValidatesYes
If the status Activation is none (0) then the software is not activated yet. Retrieve the activation status with GetWebActivation

 

To activate the copy protection:

 

Retrieve the installation code you want to use with GetInstCode
Activate the copy protection with SetVal, Token ICO - set it to the value you retrieved with GetInstCode
Set the Activation to done with SetVal, Token WST = 2