2004.03.13 17:11 "[Tiff] Error handling in LibTiff", by Xevit

I'm programing with libtiff using vc++ 6.0. Sometimes, when I use the library in a bad way, the program hangs, using the debugger I've found that hangs on "open file" or "writeTile". But sometimes hangs and it's dificult to find why.

My qüestion is:

Can anybody get me a source example that illustrates the way to handle exceptions in libtiff and get a clearly message that explains a little why the library hangs?

Thank you very much in advance.

Xevi