[perl-win32-gui-hackers] Generic Error handler

2003-12-20 Thread Jez White
All, Would anyone find a generic error handler useful? Instead of win::gui displaying the message box when an error occurs it would instead call a function passing in the error string. This would allow the application to do logging or respond in other ways. Thoughts? Cheers, jez.

Re: [perl-win32-gui-hackers] Generic Error handler

2003-12-20 Thread Glenn Linderman
Sounds pretty reasonable. For backward compatibility, it should probably be done as a hook type setting... if the hook is called and provides an error handler, then the error handler is used, otherwise the message box gets displayed. And maybe the error handler returns a value that says wheth