The licensing procedure for developers is as follows:
Call the LicenseMe() method from within your application each time when your program is getting started. This has to be done before you draw a barcode!
For users of an ActiveX® Control: when you call the LicenseMe() method you should take care that an instance of the control has been created (e.g. within load event of a form), otherwise you have to create an object.
Sample for licensing TBarCodeOCX in VB:
Private Sub Form_Load()
TBarCode81.LicenseMe "Mem: LicenseeInfo",
eLicKindDeveloper, 1, "MyLicKey", eLicProd1D
End Sub
Sample for licensing TBarCodeDLL in VC++:
BCLicenseMe ("Licensee", eKindOfLicense, 1,
"YourKey", eProductID);
// for enums refer to the file TECBCEnum.h
More info about licensing can be found in the product documentation available in the Download Area of this site.