ERRCODE BCLicenseMeW ( LPCWSTR  lpszLicensee,
e_licKind  eKindOfLicense,
DWORD  dwNoOfLicenses,
LPCWSTR  lpszKey,
e_licProduct  eProductID 
)

License TBarCode.

Licenses the library with the license key provided by TEC-IT. All demo-mode restrictions are removed. Licensing must take place before you draw a barcode or generate a barcode image file. After licensing the library will stay in licensed mode until it is unloaded from memory. Call this function and pass in the license key you have got after purchasing your license. You receive the license key from TEC-IT Datenverarbeitung GmbH (you can order through http://www.tec-it.com/order). The license kind, the number of licenses and the licensee string have to be passed in exactly as given, they are checked against the license key.

Note:
For Windows only:
  • If the license key starts with "Mem: xxxxxxxx" the product is licensed until TBarCode will be unloaded from memory.
  • If the license key received by TEC-IT looks like "HKCU:xxxxxxxx" the product is licensed in the section "HKEY Current User" of the Windows registry.
  • If the license key received by TEC-IT looks like "xxxxxxxx" or "HKLM:xxxxxxxx" the product is licensed within the section "HK Local Machine" of the Windows Registry (this is the default).

Alternative licensing method: TEC-IT provides the possibility to license the product via an .ini-file (please contact TEC-IT for details).

Parameters:
[in] lpszLicensee String containing the name of the Licensee. Provided by TEC-IT after ordering.
[in] eKindOfLicense The type of the license. Provided by TEC-IT after ordering.
[in] dwNoOfLicenses The number of available licenses. Provided by TEC-IT after ordering.
[in] lpszKey String containing the license key Provided by TEC-IT after ordering.
[in] eProductID The type of the licensed product variant (1D or 2D). The Product ID indicates which barcode types will be licensed. One-dimensional (1D or linear barcodes) (1D = Code128, UPC, EAN, Code39, ...) or two-dimensional (2D) barcodes (PDF417, MaxiCode, Data Matrix, ...).
Return values:
ERRCODE Returns always ErrOk (0) - even if license key is invalid


© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Tue May 5 15:50:32 2009 for TEC-IT TBarCode Library 9.2 with doxygen 1.5.3