// Xceed.h // // Revision Log // // Date Who SAR Notes // ========== === ======= ===================================== // 2001-10-12 mph Initial coding by Mark Henri of // MPH Software - markhenri@attbi.com // // // // #ifndef XCEED_H #define XCEED_H #define XcdWarningGeneral 10 #define XcdWarningNoZipFile 30 #define XcdWarningFilesSkipped 40 #define XcdWarningEmptyZipFile 50 #define XcdErrorNoZipFile 100 #define XcdErrorZipStruct 110 #define XcdErrorMemory 120 #define XcdErrorBadCall 130 #define XcdErrorNothingToDo 140 #define XcdErrorDiskFull 150 #define XcdErrorEOF 160 #define XcdErrorLibInUse 180 #define XcdErrorUserAbort 190 #define XcdErrorTestFailed 200 #define XcdErrorZeroTested 210 #define XcdErrorDLLNotFound 240 #define XcdErrorInternalLogic 250 #define XcdErrorTempFile 280 #define XcdErrorRead 290 #define XcdErrorWrite 300 #define XcdErrorCantCreateFile 310 #define XcdErrorParentDir 350 #define XcdErrorNameRepeat 370 #define XcdErrorLatest 380 #define XcdErrorDOSError 400 #define XcdErrorMultidisk 410 #define XcdErrorWrongDisk 420 #define XcdErrorMultidiskBadCall 430 #define XcdErrorCantOpenBinary 440 #define XcdErrorCantOpenSfxConfig 450 #define XcdErrorInvalidEventParam 460 #define XcdErrorCantWriteSfx 470 #define XcdErrorBinaryVersion 490 #define XcdErrorNotLicensed 500 #define XcdErrorCantCreateDir 510 #define XcdSuccess 0 #define xecAll 0 #define xecFreshen 1 #define xecUpdate 2 #define xowAsk 0 #define xowNever 1 #define xowAlways 2 #define xsrFileNotFound 0 #define xsrBadVersion 1 #define xsrBadCRC 2 #define xsrUpToDate 3 #define xsrUnableToOpen 4 #define xsrBadPassword 5 #define xsrBadData 6 #ifdef BUNCH_OF_MESSAGES // check out the messages below for what went wrong with the zip xsrFileNotFound File was not found. If the file is a wildcard expression, no files were found that match the wildcard expression. xsrBadVersion The file was compressed with an unknown or unsupported compression technique, and could not be extracted or tested. This typically happens if the file was Zipped with a version of PKZip before 2.0. Convert the file to the latest Zip format to eliminate skipping files for this reason. xsrBadCrc The file is corrupted, it produces the wrong CRC. xsrUpToDate A file in the list of files to update or freshen will not be added to an archive because the file already in the archive is identical or newer than the file to be updated. xsrUnableToOpen The file was found but could not be opened for reading or writing. xsrBadPassword Encrypted file, unknown or invalid password supplied for this file. Could not be extracted or tested. xsrBadData The file's compressed data is corrupted. Further processing of this file is impossible. Processing will continue with the next file in the archive. #endif #endif