AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

1998.05.25 17:17 "Strange thing...Cannot delete files.", by Mikael Suvi
1998.05.25 19:18 "Re: Strange thing...Cannot delete files.", by Gerben Vos
1998.05.26 08:50 "Re: Strange thing...Cannot delete files.", by Mikael Suvi
1998.05.26 08:56 "Re: Strange thing...Cannot delete files.", by Tim Shaporev
1998.05.25 22:55 "Re: Strange thing...Cannot delete files.", by Masanori Kanda

1998.05.25 19:18 "Re: Strange thing...Cannot delete files.", by Gerben Vos

I cant delete image files after they have been opened.

The file actually hasn't been closed due to a bug in libtiff's interface to 32-bit MS-Windows. When your program exits, Windows NT or 95 will close the file.

As a workaround, define __WIN32__ in your project and it should work again.

                                        Gerben Vos.