TFormer_LicenseFile
Definition
Windows: ANSI; Unix: UTF-8
ERRCODE TFormer_LicenseFile(LPCSTR pszLicenseFile);
Windows only: UTF-16
ERRCODE TFormer_LicenseFileW(LPCWSTR pszLicenseFile);
Contract
Licenses this TFORMer SDK instance via the given license file (provided by TEC-IT).
The licensing method needs to be called prior to any call generating output (e.g. TFormer_Print). It is recommended to call one of the licensing methods once immediately after loading the TFORMer SDK. You will receive the license information from TEC-IT Datenverarbeitung GmbH after ordering (https://www.tec-it.com/order).
Returns
Non-zero if the file isn’t found, the data couldn't be decoded, or ERR_TF_LICENSE_EXPIRED if a valid license is expired
Parameters
| Parameter / type | Description |
|---|---|
pszLicenseFileLPCSTR / LPCWSTR |
Path to the license file |