Show/Hide Toolbars

Licence Protector 5

 

 

This command allows to delete an existing module. To add a new module in an license file use AddModule.

 

 

Name

DeleteModule                                                                                      

Purpose

Removes a module from the license file completely.

Params

Parameter

Type

Example

Note

ModuleID

String

D1008

Unique ModuleID – identifies the module to be removed

Returncode

Returncode

Type Integer

Note

0

Module successfully removed

256

Module was not found in that license file

Other value

Error occurred, see list of return codes

Usage

To remove an obsolete module from your license file.

Sample

 

  iRes := lic.DeleteModule(‘D1008’);

  if iRes = 256 then

    << Module already deleted >>

  if iRes = 0 then

    << Module succesfully deleted >>

  ...

See also

AddModule, ExistsModule , GetModuleList, GetVal, SetVal

 

 

 

You can change module information with SetVal or retrieve it with GetVal