TBarCode Library 11  TBarCode Library 11
Error Handling

Error handling functions. More...

Modules

 Error Codes
 The following table lists all error codes that can be returned by TBarCode. Operating system specific error codes are not included. The error codes are listed in hexadecimal notation (0x) and as enumerator constants (members of the enumeration e_ErrorCode).
 
 Example
 This example shows the error handling concept of TBarCode. If BCCreate() returns any value other than zero (ErrOK) you might use the following function to get detailled information about the occured error.
For retrieving error texts see also BCGetErrorTextExt().
 

Functions

VOID TECIT_STDCALL BCGetErrorTextForLanguageUtf8 (ERRCODE eCode, e_Language eLang, LPSTR szText, size_t nSize)
 Returns the error text for given error code in a given language. More...
 
VOID TECIT_STDCALL BCGetErrorTextA (ERRCODE eCode, LPSTR szText, size_t nSize)
 Returns the English error text for given error code. More...
 
VOID TECIT_STDCALL BCGetErrorTextExtForLanguageUtf8 (t_BarCode *pBarCode, ERRCODE eCode, e_Language eLang, LPSTR szText, size_t nSize)
 Returns the extended error text for given error code in given language. More...
 
VOID TECIT_STDCALL BCGetErrorTextExtA (t_BarCode *pBarCode, ERRCODE eCode, LPSTR szText, size_t nSize)
 Returns the extended English error text to given error code. More...
 
INT TECIT_STDCALL BCGetInvalidDataPos (t_BarCode *pBarCode)
 Gets position of invalid character in input data. More...
 

Detailed Description

Error handling functions.

Error Codes
Here you can find a list of Error Codes which are used by TBarCode. If any of the BCxxxx functions returns a value other than zero (ErrOk) it means that an error occured. In this case DO NOT call any subsequent BCxxxx functions except BCFree(). An error code indicates an error condition. Subsequent calls may fail and produce unexpected results.
Example
An example for error handling can be found here.

© 2022 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed May 18 2022 11:16:25 for TBarCode Library 11 with doxygen 1.8.17