docs

Home Getting Started Browse by Category Class Methods Low-Level API

InitializeLicense

Initializes ProTOML licensing for the current process and records the active mode and status code.

Clarion class declaration

InitializeLicense PROCEDURE(STRING pLicenseText),LONG

Purpose

Initializes ProTOML licensing for the current process and records the active mode and status code.

Parameters

Parameter Type Description
pLicenseText STRING Developer license value supplied with ProTOML, or PTM-DEMO for demo mode.

Return value

Returns 0 for demo mode, 1 for licensed mode, or a negative result when the runtime is blocked.

Example (Clarion)

RetCode LONG

CODE
RetCode = Toml.InitializeLicense('PTM-DEMO')

Notes

Home Getting Started Browse by Category Class Methods Low-Level API