Handling X errors using exception handlers

Alexandre Julliard julliard at winehq.com
Sun Jul 15 14:04:22 CDT 2001


Lionel Ulmer <lionel.ulmer at free.fr> writes:

> The only problems I could see with this approach is that :
> 
>  - it cannot 'expect' more than one kind of error at the same time

I was thinking you could use a special value as a "wildcard" for the
error codes, in which case it wouldn't be tested for a match.

>  - I am not sure that the parameters thing are really a good idea. Are we
>    sure that the error code are the same on all X servers ? Are they
>    standardized ?

They are part of the X spec AFAICT, so yes it should be pretty much
standard.

-- 
Alexandre Julliard
julliard at winehq.com




More information about the wine-devel mailing list