TFormer_License

General · String encodings

Definition

Windows: ANSI; Unix: UTF-8

ERRCODE TFormer_License(LPCSTR pszActivationCode, LPCSTR pszLicensee, DWORD dwKind, LONG nLicenses, LPCSTR pszOptions, LPCSTR pszExpirationDate, LPCSTR pszSignature);

Windows only: UTF-16

ERRCODE TFormer_LicenseW(LPCWSTR pszActivationCode, LPCWSTR pszLicensee, DWORD dwKind, LONG nLicenses, LPCWSTR pszOptions, LPCWSTR pszExpirationDate, LPCWSTR pszSignature);

Contract

Licenses this TFORMer SDK instance via the given license data (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). All license values must be specified exactly as received from TEC-IT. The license kind, the number of licenses and the licensee string are checked against the license key.

Returns

ERR_TF_LICENSE_EXPIRED if a valid license is expired

Parameters

Parameter / typeDescription
pszActivationCodeLPCSTR / LPCWSTR

Activation code

pszLicenseeLPCSTR / LPCWSTR


Name of the licensee

dwKindDWORD

License kind

nLicensesLONG

Number of licenses

pszOptionsLPCSTR / LPCWSTR

License options

pszExpirationDateLPCSTR / LPCWSTR

License expiration date

pszSignatureLPCSTR / LPCWSTR

License signature

Search documentation

Search in
More scopes
Additional scopes

All contents