AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1998.04.06 18:42 "libtiff isn't closing all of the file handles on NT ?", by Chris Griffin
1998.04.06 23:24 "Re: libtiff isn't closing all of the file handles on NT ?", by Masanori Kanda
1998.04.07 00:44 "RE: libtiff isn't closing all of the file handles on NT ?", by Dean Grimm
1998.04.07 13:41 "Re: libtiff isn't closing all of the file handles on NT ?", by Jim White
1998.04.07 15:40 "Re: libtiff isn't closing all of the file handles on NT ?", by Rex Jolliff
1998.04.07 17:13 "RE: libtiff isn't closing all of the file handles on NT ?", by Gerben Vos

1998.04.06 18:42 "libtiff isn't closing all of the file handles on NT ?", by Chris Griffin

Hi,

I am using LIBTIFF from within a DLL to read and write TIFF images on a Windows NT machine. I am finding that after I read a file, I can no longer write to that file, and I also cannot delete it at the OS level until my application has exited.

This leads me to beleive that TIFFClose is not properly closing the file. I rebuilt the library with debugging flags and ran the whole thing in a debugger, and the call to CloseHandle (in tif_win32) is returning a 1, which indicates that it succeeded.

So now I'm completely stumped! Has anyone else seen this problem?

Thanks,
Chris