AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2014.12.29 17:07 "[Tiff] Fwd: Windows Error Dialog", by Aaron Boxer
2014.12.29 15:18 "Re: [Tiff] Windows Error Dialog", by Olivier Paquet
2014.12.29 17:27 "Re: [Tiff] Windows Error Dialog", by Aaron Boxer
2014.12.29 18:02 "Re: [Tiff] Windows Error Dialog", by Olivier Paquet
2014.12.29 18:59 "Re: [Tiff] Windows Error Dialog", by Aaron Boxer

2014.12.29 18:59 "Re: [Tiff] Windows Error Dialog", by Aaron Boxer

On Mon, Dec 29, 2014 at 1:02 PM, Olivier Paquet <olivier.paquet@gmail.com>

wrote:

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.

> Awesome. Thanks!