[Note: The C API described below will become obsolete as of QLM v10]
The IsLicense50.dll exposes a C interface. All QLM Express documented API functions are available via the C interface.
To use the C API, please do as follows:
// First you probably must declare the DLL in your setup scripts.
// Check the documentation on how to do that.
HANDLE h = QlmCreateLicenseManager ();
BOOL ret = QlmDefineProduct(h, productID, productName, majorVersion, minorVersion, encryptionKey, guid);
// Note that errorMsg is a return value.
// Please verify how to pass values by ref in your scripting language.
ret = QlmValidateLicense(h, licenseKey, errorMsg);
int status = QlmGetStatus(h);
A sample is available for download here.
Comments
0 comments
Article is closed for comments.