BiGIF.dll specific error codes

The last error code in the BiGIF.dll can be retrieved by the GifError function.

The GifErrorString 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

GOK

Operation was successfull.

1

GNOTENOUGHMEMORY

Not enough memory to allocate block.

2

GBADOPENMODE

No G_READ or G_CREAT in OpenGifFile().

3

GINDEXOUTOFRANGE

Image index is out of range.

4

GENDOFDATA

Unexpected end of file in reading data.

5

GFILEIOERROR

General I/O error in reading or writting.

6

GPATHTOOLONG

Pathname is longer than MAXPATH.

7

GNOTGIFFILE

File does not have a valid GIF format.

8

GCOMPRESSIONFAILED

Error during compression or decompression.

9

GBADNUMBEROFCOLORS

Invalid BITSPERPIXEL value.

10

GCLIPOPEN

Can’t open clipboard.