GetLastColorConvertError  Method

Description         This method will return the error code of the last error that occurred.

Syntax                 RetVal = [BIImage.]GetLastColorConvertError

Returns               RetVal                    Long                The last error code.

Remarks            

Error codes:       CCNOERROR                               No error occurred.

                            CCDUPLICATEERROR              Error during duplicate DIB. For example this error may be occurred during copying the input DIB in the ConvertDIBColorSpace function.

                            CCIINVALIDFORMAT               The color space format is not valid.

                            CCCONVERT32BIT                     Error converting DIB to 32 bit per pixel.

                            CCINVALIDPARAMETER         Invalid parameter.

                            CCCREATEDLG                          Error crating progress dialog.

See Also              ConvertDIBColorSpace Method, ConvertColorSpace Method