The last error code in the BiTiff.ocx can be retrieved by the TiffError method.
The TiffErrorString 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. The error list may be expanded in future releases without notice.
Error Code number |
Error Code |
Meaning |
0 |
||
1 |
||
2 |
||
3 |
||
4 |
||
5 |
||
6 |
||
7 |
||
8 |
||
9 |
||
10 |
||
11 |
||
12 |
||
13 |
||
14 |
||
15 |
||
16 |
||
17 |
||
18 |
||
19 |
||
20 |
||
21 |
||
22 |
||
23 |
||
24 |
||
25 |
||
26 |
||
27 |
||
28 |
TNOBIDLGS |
BiDlgs.dll does not exist |
29 |
TBADPARAMS |
Parameter error |
30 |
TBADDIB |
Bad (compressed) DIB |
31 |
TFOUNDEOI |
Not PIW Format |
32 |
TBADBPP |
Bits per pixel not supported |
33 |
TBADIBUF |
Invalid Image Buffer Address |
34 |
TBADHANDLE |
Invalid memory pointer or handle |
35 |
TTIFFMOTYPE |
Can't append an Intel-type TIF to a Motorola-type TIF |
36 |
TBADDIM |
Image format does not support width or length > 65535 |