- 2013.04.18 23:00 "Re: [Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode", by Chris Cox
2013.04.22 03:42 "Re: [Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode", by Sunanda Chowdhary
Hello Chris,
TiffOpenW() crashes. I am using Lib TIFF DLL and Library and Lib TIFF source code is not available to me. I am not able to debug exactly why it is failing but call stack shows it fails in TiffClientOpen API.
When I refer to ASCII I mean that path of the TIFF file or name of the TIFF file contains ASCII characters only. Also, if path or name of file contains Non-ASCII characters then also TiffOpenW() crashes. As I already mentioned _wopen() is able to open the file successfully.
Thanks
From: Chris Cox
Sent: 19 April 2013 04:30
To: Sunanda Chowdhary; TIFF
Subject: Re: [Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode
First you say it crashes, then you say it throws exceptions: which is it?
And what do you mean by "non-ASCII is anyway failing"?
I used TiffOpenW() API to open a Tiff file containing ASCII characters (non-ASCII is anyway failing) in read mode. TiffOpenW() crashes. I verified Tiff File is proper (other applications able to open it)
I have access permission for this file. I used _wopen() to verify and this function succeeds. I am using LibTiff version 3.9.2. I cannot use TiffOpen() since eventually I have to provide Unicode support. Please help me understand so as to why TiffOpenW() is failing (throws exception)
Thanks