BiGIF.ocx specific error codes

The last error code in the BiGIF.ocx can be retrieved by the GifError method.

The GifErrorString method can be used to get the error message associated with error code.

 

Please note that each OCX has a different Error code method and Error String method.

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 writing.

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.