TBarCode Library 11  TBarCode Library 11
General Function Calls

These function calls are required to produce a barcode with standard settings. More...

Functions

BOOL TECIT_STDCALL BCAttachInstance (HINSTANCE hInstance)
 Attach library to given instance (Windows static library only). More...
 
BOOL TECIT_STDCALL BCAttach ()
 Initializes TBarCode for further use (Windows static library only). More...
 
BOOL TECIT_STDCALL BCDetach ()
 Detach library from process (Windows static library only). More...
 
ERRCODE TECIT_STDCALL BCDeInitLibrary ()
 De-initializes TBarCode Library (UNIX and Windows CE only). More...
 
ERRCODE TECIT_STDCALL BCAlloc (t_BarCode **ppBarCode)
 Allocates and initializes barcode structure. More...
 
ERRCODE TECIT_STDCALL BCClone (t_BarCode **ppBarCodeDest, const t_BarCode *pBarCodeSrc)
 Makes a clone of an existing bar code structure. More...
 
ERRCODE TECIT_STDCALL BCFree (t_BarCode *pBarCode)
 Frees barcode structure. More...
 
ERRCODE TECIT_STDCALL BCCreate (t_BarCode *pBarCode)
 Creates the internal barcode representation. More...
 
ERRCODE TECIT_STDCALL BCInitLibraryA (LPCSTR szPath)
 Initializes TBarCode Library (UNIX and Windows CE only). More...
 
ERRCODE TECIT_STDCALL BCInitLibraryW (LPCWSTR szPath)
 Initializes TBarCode Library (UNIX and Windows CE only). More...
 
ERRCODE TECIT_STDCALL _BCInitLibraryT (LPCTSTR szPath)
 Initializes TBarCode Library (UNIX and Windows CE only). More...
 
ERRCODE TECIT_STDCALL BCLicenseMeA (LPCSTR lpszLicensee, e_licKind eKindOfLicense, DWORD dwNoOfLicenses, LPCSTR lpszKey, e_licProduct eProductID)
 License TBarCode. More...
 
ERRCODE TECIT_STDCALL BCLicenseMeW (LPCWSTR lpszLicensee, e_licKind eKindOfLicense, DWORD dwNoOfLicenses, LPCWSTR lpszKey, e_licProduct eProductID)
 License TBarCode. More...
 

Detailed Description

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.

Note
A static library is available on request only. Please contact suppo.nosp@m.rt@t.nosp@m.ec-it.nosp@m..com

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);

© 2019 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Thu Apr 11 2019 07:58:55 for TBarCode Library 11 with doxygen 1.8.8