Show/Hide Toolbars

Licence Protector 5

 

Name

SetDiffPct                                                                                                  

Purpose

Sets the tolerance in percent for automatic validates in a concurrent user module.

Params

Parameter

Type

Example

Note

ModuleID

String

D1006

Unique ModuleID of a concurrent user module

Pct

Integer

10

The tolerance in percent

Returncode

Returncode

Type Integer

Note

0

Tolerance successfully set

> 0

Error occurred, see list of return codes

Usage

To change the current tolerance.

Sample

 

  iRes := lic.SetDiffPct (‘D1006’, 10);

  if iRes <> 0 then

  begin

    << an error occurred >>

     ...

  end

  else

  begin

     << interval successfully set to 2 minutes >>

     ...

See also

Concurrent user, CheckInterval, DiffPct