Xceed Streaming Compression Library Documentation
About Xceed Streaming Compression control error codes
Xceed Streaming Compression control reference > Error codes > About Xceed Streaming Compression control error codes

The following constants define all the possible error code values that Xceed Streaming Compression control methods can produce. The declarations for these error codes are built into the library's "Type Library" (see the EXCError enumeration) and should automatically be accessible by your code.

Visual Basic users should use the Err object in their error handling code. It provides a textual description of the error code when needed.

Delphi users can trap the EOleException exception (include "comobj" in your unit’s Uses clause) and access the any of the exception object's properties for information about the error.

Standard COM error codes
 

Constant Value Description
S_OK   The method call completed successfully.
E_INVALIDARG  0x80070057  An invalid parameter was passed to a method call.
E_OUTOFMEMORY 0x8007000E   Not enough memory or system resources available.
E_POINTER 0x80004003   A NULL pointer was passed to a method's [out] parameter.
E_UNEXPECTED   0x8000FFFF   Unexpected condition occurred. Contact Xceed support!

Xceed Streaming Compression control success code
 

Constant Value Description
cerSuccess The operation completed successfully.

Xceed Streaming Compression control error codes
 

Constant Value Description
cerNotLicensed  0x80043001  The license key required to use the Xceed Streaming Compression Library was either not found, is invalid, or is an expired free trial license key. See the License method for details.
cerSessionOpened  0x80043002  The control is already performing another compression session.
cerInitCompression 0x80043003  Could not initialize the compression engine. Contact Xceed support if you get this error.
cerCompression  0x80043004  The data could not be compressed. Contact Xceed support if you get this error.
cerDataRemaining  0x80043005  Unexpected extra data was found at the end of the compressed stream.
cerUnsupportedDataFormat  0x80043006  The data format is not supported.
cerUnsupportedEncryptionMethod  0x80043007  The encryption method is not supported for this compressed data format or method.
cerUnsupportedCompressionMethod  0x80043008  The compression method is not supported.
cerInvalidDataFormat  0x80043009  Invalid data format.
cerInvalidCompressionMethod  0x8004300A  Invalid compression method.
cerInvalidCompressionLevel  0x8004300B  Invalid compression level.
cerInvalidChecksumType  0x8004300C  Invalid CRC type.
cerInvalidHeader  0x8004300D  The header information is invalid.
cerInvalidHeaderSignature  0x8004300E  The header signature does not match the expected signature.
cerInvalidFooter  0x8004300F  The footer information is invalid.
cerNotEnoughHeaderSpace  0x80043010  There is not enough space to write the header.
cerNotEnoughFooterSpace  0x80043011  There is not enough space to write the footer.
cerInvalidChecksum  0x80043012  The CRC or Adler-32 verification failed. The data may be corrupted.
cerInvalidHeaderChecksum  0x80043013  The CRC or Adler-32 verification for the header failed. The header may be corrupted.
cerInvalidSize  0x80043014  The reported original size differs from the uncompressed data size.
cerInvalidFileProcessing  0x80043015  Invalid file processing action for this method call.
cerInvalidAction  0x80043016  The file processing action is not supported for this method.
cerEmptyFile  0x80043017  The specified source file is empty.
cerInvalidFileOffset  0x80043018  The file offset is beyond the end of file.
cerReadFile  0x80043019  Cannot read data from the source file.
cerWriteFile  0x8004301A  Cannot write data to the destination file.
cerFileNotFound  0x8004301B  The specified filename does not exist.
cerPathNotFound  0x8004301C  The specified path does not exist.
cerAccessDenied  0x8004301D  Access to the specified file has been denied by the operating system. This can be a file permission error.
cerAlreadyInUse 0x8004301E  The file is already in use.
cerInvalidFileName  0x8004301F  The file name is invalid.
cerDiskFull  0x80043020  The disk is full.
cerAlreadyExists  0x80043021  The destination file already exists.
cerAccessingDrive  0x80043022  Error accessing the specified drive.
cerOpenFileForReading  0x80043023  Unknown error occurred while trying to open the source file for reading.
cerOpenFileForWriting  0x80043024  Unknown error occurred while trying to open the destination file for writing.
cerEmptyFileName  0x80043025  The filename is empty.
cerFileToBig  0x80043026  The file size is greater than 4.2 gigs.
cerInternalError  0x80043FFF  An unexpected error occurred. Please contact Xceed support.