Page 1 of 1

RaiseError() Cross-Platform Consistency

Posted: Mon Sep 28, 2015 7:18 am
by grabiller
Hello,

Would be nice to have a consistent cross-platforms RaiseError(), meaning with the ability to use custom errors, not only on Windows but also on Linux and Mac OSX.

Cheers,
Guy.

Re: PosEvent() Cross-Platform Consistency

Posted: Mon Sep 28, 2015 7:20 am
by wilbert
PostEvent is supported on all platforms so I'm not sure what you are requesting. :?

Re: RaiseError() Cross-Platform Consistency

Posted: Mon Sep 28, 2015 7:35 am
by grabiller
Oops, I wrote PostEvent() but I meant RaiseError().. Monday morning.. I'll update the Title..

On Linux and Mac OSX, only 5 values are accepted while on Windows 0 to 268435455 are possible.

While I understand this function is certainly close to the native OS it would be nice to have it allowing custom errors on the 3 platforms, even if it means encapsulating the original function somehow.

Cheers,
Guy.