BiPCX.dll specific error codes

The DLL file has no error retrieving function. The called function returns with the error code (int).

Error Code number

Error Code

Meaning

1

PCX_OK

No error.

2

PCX_BUF_ALLOC

Unable to allocate buffers.

3

PCX_UNKNOWN_VERSION

Uninterpreatable version.

4

PCX_UNKNOWN_ENCODING

Possibly PCX, but doesn’t use ZSoft encoding.

5

PCX_FILEOPEN

Unable to open file.

6

PCX_BITMAP

Unable to create bitmap.

7

PCX_CLIP_OPEN

Unable to open clipboard.

8

PCX_HDC

Unable to create compatible DC.

9

PCX_TOO_SPECIAL_FORMAT

Too hardware dependent bitmap.

10

PCX_BAD_PALETTE

Error in reading palette info.

11

PCX_ERROR_GLOCK

Global and local lock error.

12

PCX_ERROR_GALLOC

Global and local alloc error.

13

PCX_ERROR_USERFUNC

User function return with FALSE.

14

PCX_ERROR_BITMAPFORMAT

PCX file and bitmap is not the same type.

15

PCX_ERROR_GETCLIPBOARD

Error in GetClipboardData function.

16

PCX_ERROR_READ

Error in _lread.

17

PCX_ERROR_WRITE

Error in _lwrite.

18

PCX_ERROR_IO

Ffile I/O error.

21

DCX_ERROR_INVALIDITEM

Reference to non-existent item number.

22

DCX_ERROR_BADFILETYPE

Bad DCX file identifier.

23

DCX_ERROR_BADOFFSET

Bad item offset in DCX header.

24

DCX_ERROR_DISKSPACE

Not enough disk space for file operation.

25

DCX_ERROR_DCXFULL

No empty entry in DCX header.

26

DCX_ERROR_DELETEFILE

Unable to delete file.

27

DCX_ERROR_RENAMEFILE

Unable to rename file.

28

DCX_ERROR_EMPTY

No image in DCX-file.