AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
January 1997

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

1997.01.08 17:14 "LIBFIFF caused first chance exception in NTDLL.DLL", by Albert Ling
1997.01.08 20:01 "Re: LIBFIFF caused first chance exception in NTDLL.DLL", by Phillip Crews
1997.01.09 12:43 "Re: LIBFIFF caused first chance exception in NTDLL.DLL", by Scott Wagner

1997.01.08 20:01 "Re: LIBFIFF caused first chance exception in NTDLL.DLL", by Phillip Crews

At 05:14 PM 1/8/97 GMT, you wrote:
>	//first chance exception happens here
>	//when calling CloseHandle()
>	CloseHandle((HANDLE)map_handle);

NT 4.0 generates an exception (which does eventually get handled) when a
program closes a file handle that has already been closed. This shouldn't
cause any real problems.

In one of my projects, I kind of got tired of the messages (due to a
different issue, not the TIFF library) and enclosed my CloseHandle call in
a try/except block, so that the exception is no longer reported by the
debugger.

Phillip