BiImage.dll specific error codes

The last error code in the BiImage.dll can be retrieved by the GetLastColorConvertError  function. The nColorConvertErr function can be used to get the error message associated with error code.

 

Please note that each DLL has a different Error code function and Error String function.

Error Code number

Error Code

Meaning

0

CCNOERROR

No error occurred.

1

CCDUPLICATEERROR

Error Duplicate DIB.

2

CCIINVALIDFORMAT

Invalid conversion format.

3

CCCONVERT32BIT

Error convert DIB to 32 bit.

4

CCINVALIDPARAMETER

Invalid parameter.

5

CCINVALIDBUFFERSIZE

Invalid buffer size.

6

CCCREATEDLG

Error creating progress dialog.

7

CCNOBIDLGS

BiDlgs.dll is missing.

8

CCCONVERSIONERROR

Color conversion error