2011.05.05 16:44 "[Tiff] Is LibTiff 3.9.5 Thread Safe ?", by Katerina Sedivy
- 2011.05.05 15:03 "[Tiff] Access Violation on TiffClose()", by Katerina Sedivy
- 2011.05.05 17:42 "Re: [Tiff] Is LibTiff 3.9.5 Thread Safe ?", by Frank Warmerdam
2011.05.05 15:27 "Re: [Tiff] Access Violation on TiffClose()", by Olivier Paquet
On Thu, May 5, 2011 at 11:03 AM, Katerina Sedivy <sedivyk@gmail.com> wrote:
procedure TMainAppRunnerDlg.btnTIFFOpenClick(Sender: TObject);
varlh_TiffHandle: Pointer;
begin
:= DLL_TIFFOpen('C:\Develop\Tests\cheque_216_A.tif', 'r'); lh_TiffHandle
> try
> finally
> DLL_TIFFClose(lh_TiffHandle);
> end;
> end;
It looks to me like you don't actually check that TIFFOpen works. TIFFClose will definitely crash on a null handle so that might be your problem.
Olivier