| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2006.01.10 16:34 "Re: Problem closing TFF file : First Chance exception", by Bernie PallekI'd guess you're getting a NULL back from TIFFOpen, but then you're passing
it to TIFFClose (which is not prepared to handle it), and it goes downhill
from there.
Try adding a check, for example:
TIFF * in = TIFFOpen("temp.tif", "r");
if (!in)
{
printf("oh noes!\n");
exit(1);
}
TIFFClose(in);
|
|||||||