2009.03.27 22:42 "[Tiff] TIFFOpen throws access error", by

2009.04.06 18:10 "Re: [Tiff] Writing tiff to in-memory buffer", by Christian Henning

Thanks Bob, for you quick reply. Please see below.

On Mon, Apr 6, 2009 at 12:30 PM, Bob Friesenhahn <bfriesen@simple.dallas.tx.us> wrote:

>>   TIFF* t = TIFFClientOpen( "dummy"
>>                          , "w"
>>                          , &ss
>>                          , &read_proc
>>                          , &write_proc
>>                          , &seek_proc
>>                          , &close_proc
>>                          , &size_proc
>>                          , NULL
>>                          , NULL
>>                           );

What are the ampersands for?

Good question. ;-) My bad, I fixed it.

I'm using libtiff version 3 something.

This narrows the libtiff you are using down to maybe a 13 year time span.

Someone any idea what I'm doing wrong here?

It should be useful to use contrib/stream/tiffstream.cpp from the libtiff source distribution as a reference. version which will be included in  The libtiff4 is updated to standard C++.

Seems I need to recompile libtiff and start debugging. Does the code work on your machine?

Christian