2001.10.11 09:03 "Re: Access violation", by Seydou Wane
Hi,
I am the one who wrote the first mail below. To avoid the problem, this is what I did:
- comment in a warning message instruction in the file tif_dirread.c
- then generate a new libtiff.lib
if (fix == tif->tif_nfields ||
tif->tif_fieldinfo[fix]->field_tag != dp->tdir_tag) {
/*
TIFFWarning(tif->tif_name,
"unknown field with tag %d (0x%x) ignored",
dp->tdir_tag, dp->tdir_tag);
*/
dp->tdir_tag = IGNORE;
fix = 0; /* restart search */
continue;
}
By debugging my code I found that the error was due to that instruction.
Hope this will help, and hope that you have the code source too. If not, you may download it.
If the problem remains, I could send you my "new" libtiff.lib.
Does someone know a better solution?
Best regards.
Seydou Wane.