2014.12.29 17:07 "[Tiff] Fwd: Windows Error Dialog", by Aaron Boxer

2014.12.29 18:02 "Re: [Tiff] Windows Error Dialog", by Olivier Paquet

2014-12-29 12:27 GMT-05:00 Aaron Boxer <boxerab@gmail.com>:

Unfortunately, when I set an error handler, the va_list parameter is garbled.

Here is my simple error handler:

void MyTiffErrorHandler(const char *module, const char *fmt, va_list ap) {
        printf(fmt, ap);
}

That's a C problem. You need vprintf, not printf.

Olivier