These function calls are required to produce a barcode with standard settings. More...
Functions | |
BOOL | BCAttachInstance (HINSTANCE hInstance) |
Attach library to given instance (Windows static library only). | |
BOOL | BCAttach () |
Initializes TBarCode for further use (Windows static library only). | |
BOOL | BCDetach () |
Detach library from process (Windows static library only). | |
ERRCODE | BCDeInitLibrary () |
De-initializes TBarCode Library (UNIX and Windows CE only). | |
ERRCODE | BCAlloc (t_BarCode **ppBarCode) |
Allocates and initializes barcode structure. | |
ERRCODE | BCClone (t_BarCode **ppBarCodeDest, const t_BarCode *pBarCodeSrc) |
Makes a clone of an existing bar code structure. | |
ERRCODE | BCFree (t_BarCode *pBarCode) |
Frees barcode structure. | |
ERRCODE | BCCreate (t_BarCode *pBarCode) |
Creates the internal barcode representation. | |
| |
ERRCODE | BCInitLibraryA (LPCSTR szPath) |
Initializes TBarCode Library (UNIX and Windows CE only). | |
ERRCODE | BCInitLibraryW (LPCWSTR szPath) |
Initializes TBarCode Library (UNIX and Windows CE only). | |
ERRCODE | _BCInitLibraryT (LPCTSTR szPath) |
Initializes TBarCode Library (UNIX and Windows CE only). | |
| |
ERRCODE | BCLicenseMeA (LPCSTR lpszLicensee, e_licKind eKindOfLicense, DWORD dwNoOfLicenses, LPCSTR lpszKey, e_licProduct eProductID) |
License TBarCode. | |
ERRCODE | BCLicenseMeW (LPCWSTR lpszLicensee, e_licKind eKindOfLicense, DWORD dwNoOfLicenses, LPCWSTR lpszKey, e_licProduct eProductID) |
License TBarCode. |
These function calls are required to produce a barcode with standard settings.
The barcode can then be drawn on a device context using BCDraw() or written to file using BCPostscriptToFile() (or similar). Some of these functions are only necessary for applications which are using a static library of TBarCode.
The following examples shows how you will use these functions in your code.
/* License TBarCode */ BCLicenseMe("LicenseeName", eLicKindDeveloper, 1, "LicenseKey", eLicProd2D); /* Allocate memory and retrieve barcode handle (pointer) */ t_BarCode* pBC; BCAlloc(&pBC); /* Set barcode symbology, data and other properties. */ ... /* Create barcode pattern (bars, spaces) */ BCCreate(pBC); /* Call functions to draw or save barcodes */ ... /* Release memory / free barcode structure */ BCFree(pBC);
© 2008 All rights reserved by TEC-IT Datenverarbeitung GmbH |
![]() |
Generated on Thu Jun 30 16:34:47 2011 for TEC-IT TBarCode Library 10 with doxygen 1.6.2 |