ErrorMess()

The ErrorMess() function provides the string form or the error message corresponding to an error code.

Declaration

int getErrorMess(int * errorcode,char * errorstring);

where

errorcode is a pointer to an integer containing an error code whose string form is required.

Errorstring is a pointer to a C character buffer that will receive the error message. This buffer must exist and be at least 36 characters in length before the function is called. Its existence and length are not checked within the library.

The error messages corresponding to the valid error codes are:

0        OK (ie.No error)
1        Invalid data length
2        Invalid code type
3        Invalid parameters
4        Illegal character in data
5        Invalid embedded code
>6      Error creating barcode

 

 

More:

getTypeName()