| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread1994.02.11 01:16 "Re: LibTIFF working on MS-Windows 3.1.", by Richard Minner> more correct way for libtiff to do, I think, is to have these routines set a
> variable like TIFFerrno, The library should never report error messages on its
> own way. If it fails, return a failure. The application then check the error
> number, and report in what ever way it likes.
Not quite, because the messages are not simply "error 2: you lose" but
rather contain very useful details of the circumstances of the failure.
The current callback scheme is by far the preferred method for reporting
diagnostics.
> Currently, in the windows 3.1,
> we have to set error/warning handler anyway. I think to have them do nothing
> would be a good idea.
They should do nothing only #ifdef _WINDOWS; on other systems the
defaults are useful.
--
Richard Minner rtm@island.com {uunet,sun,well}!island!rtm
Island Graphics Corporation Sacramento, CA (916) 736-1323
|
|||||||