TBarCode Library 11 TBarCode Library 11
INT BCGetInvalidDataPos ( t_BarCode *  pBarCode)

Gets position of invalid character in input data.

If BCCheck() or BCCreate() fails, this function allows you to determine the position of the first invalid character within the barcode text (see BCSetText()). Note: The returned position may not be accurate when using Escape Sequences in the input data.

Parameters:
[in]pBarCodePointer to barcode structure.
Return values:
INTZero-based index of invalid character. -1 if not available