| 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 |
Thread1997.01.08 17:14 "LIBFIFF caused first chance exception in NTDLL.DLL", by Albert LingHello folks,
I am using libtiff v3.4beta035 with VC++ 4.1b in my application for
reading fax images on Windows NT 4.0b1. For some images (but not all),
the library causes a first chance exception in NTDLL.DLL during debug
session. If I ignore it and continue--or if I'm using the release
build--things seem to be OK.
I've traced the problem to the exact location in tif_win32.c:
static void
_tiffUnmapProc(thandle_t fd, tdata_t base, toff_t map_handle)
{
UnmapViewOfFile(base);
//first chance exception happens here
//when calling CloseHandle()
CloseHandle((HANDLE)map_handle);
return;
}
I end up looking at some disassembled code in NTDLL.DLL which I am not
inclined to understand. I guess I could just ignore it since it hasn't
caused any real problem. But if anyone knows what's happening
here---or better yet, can offer a way to eliminate it, I'll be much
obliged.
Albert Ling
|
|||||||