2006.08.03 19:58 "[Tiff] libTiff and MSVC 6.0", by Sean Burke

2006.08.04 14:32 "Re: [Tiff] libTiff and MSVC 6.0", by Gerben Vos

     if((TIFFWriteEncodedStrip(tif, 0, buf, width*height)) == -1){

The above code is simple enough and doesn't appear to contain any obvious bugs.

Well, I think I can catch one. :-) Since you're writing 16-bit data, this should be:

>     if((TIFFWriteEncodedStrip(tif, 0, buf, width*height*2)) == -1){

However, this doesn't really explain the exception you're getting. I'm afraid I can't help you with that.

Gerben Vos.