| 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 |
Thread1998.04.07 13:41 "Re: libtiff isn't closing all of the file handles on NT ?", by Jim WhiteChris, I have had this exact problem on NT. I have a program that needs to open many TIFF files and eventually it hangs the system. I wrote a small test program that repeatedly opens and then closes the same TIFF file. Foe each open/close it looks like there are 3-5 handles left around. I have looked into this a little bit and I've found nothing obvious. One possible place it in the routine _tiffMapProc where it calls MapViewOfFile but I'm not sure. I've found no good work around and I'd be interested in any information too. Jim White Chris Griffin wrote: > > 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 |
|||||||