From: <ma...@li...> - 2001-10-31 12:43:12
|
Hi, > The only way I found to switch of the messag dialogs,was > to set ERROR_IGNORE, but how can I implement my > own error handling ??? Is fair easy, just create a global function called void cmsSignalError(int ErrorCode, const char *ErrorText, ...) and another called int cmsErrorAction(int nAction) or don't call this latter (the engine doesn't it use in any place) This will prevent from loading cmserr.c from library. Each error will result in a call to your cmsSignalError, and here you can deal with it on your own. This is explained on the tutorial, take a look on "error handling" section. Hope this helps, Marti. ----- Original Message ----- From: "Maik Wojcieszak" <mw...@wo...> To: <lcm...@li...> Sent: Wednesday, October 31, 2001 8:55 AM Subject: [Lcms-user] error handling in lcms > Hi, > > How does lcms notify me about errors, if I don't want > it to show me message on the desktop. > > The only way I found to switch of the messag dialogs,was > to set ERROR_IGNORE, but how can I implement my > own error handling ??? > > Is there a way to use exceptions or read any error numbers ?? > > regards, > maik > > ------------------------------------------------- > Maik Wojcieszak > > wobe-team (http://www.wobe-team.com) > > > > _______________________________________________ > Lcms-user mailing list > Lcm...@li... > https://lists.sourceforge.net/lists/listinfo/lcms-user > > |