AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
July 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2009.07.02 18:15 "Access violation in TiffOpen Function in "write" mode", by <acanicio@astrosnap.com>
2009.07.04 16:55 "Re: Access violation in TiffOpen Function in "write" mode", by <acanicio@astrosnap.com>
2009.07.04 17:30 "Re: Access violation in TiffOpen Function in "write" mode", by Toby Thain
2009.07.04 17:51 "Re: Access violation in TiffOpen Function in "write" mode", by Bob Friesenhahn

2009.07.04 17:30 "Re: Access violation in TiffOpen Function in "write" mode", by Toby Thain

On 4-Jul-09, at 12:56 PM, acanicio wrote:

>
> Hello,
>
> I just found out that I have the same problem with some other  
> programs (not
> mine), and also in "read" mode...
>
> So I just spent the last 6 hours trying to figure out the problem...
>
> And something incredible happened.
>
> It works !!.  :jumping: Without having changed a single line of  
> code !!.
>
> I just set the "record field alignment" in the delphi compiler  
> options to
> "4" instead of "2".
>
> Geee... Can anybody explain to me why a value of "2" or "1" this  
> ends up
> crashing when using libtiff ? :confused:

Presumably your setting was different from that used by the ABI  
assumed by the libraries. This could cause various kinds of  
unexpected behaviour. The manual may have more to say about it.

--Toby

>
> Best regards
> Axel
>
>
>
>
>
>
> -- 
> View this message in context: http://www.nabble.com/Access- 
> violation-in-TiffOpen-Function-in-%22write%22-mode- 
> tp24311610p24336211.html
> Sent from the Tiff / LibTiff mailing list archive at Nabble.com.
>
> _______________________________________________
> Tiff mailing list: Tiff@lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/tiff
> http://www.remotesensing.org/libtiff/