[Mono-dev] PR944 - Improve COM error handling

Eberhard Beilharz eb1 at sil.org
Thu Oct 30 07:13:41 UTC 2014


> The code in your pull request is windows specific so it won't work on
> unix.
>
No, it isn't. It's possible to build a Unix library that emulates the
Windows COM implementation - as we did it in our projects
(https://github.com/sillsdev/libcom), and a mapping of oleaut32.dll to
that library.

The code in the pull request deals with the possibility that there is no
suitable COM implementation available, but if there is it'll make use of it.

Rodrigo Kumpera <kumpera at gmail.com> wrote on 2014-10-30 at 04:46 +0100:
> The code in your pull request is windows specific so it won't work on
> unix.
>
> Mono works with unix com implementations such as xpcom.
>
> On Wed, Oct 29, 2014 at 3:06 PM, Eberhard Beilharz <eb1 at sil.org
> <mailto:eb1 at sil.org>> wrote:
>
>     Hi,
>
>     To revive one of my old pull requests: #944 implements some missing
>     pieces related to COM error handling. Namely it sets the error info in
>     GetHRForException() and converts the HRESULT values to managed
>     exceptions.
>
>     https://github.com/mono/mono/pull/944
>
>     Thanks,
>         Eberhard
>     _______________________________________________
>     Mono-devel-list mailing list
>     Mono-devel-list at lists.ximian.com
>     <mailto:Mono-devel-list at lists.ximian.com>
>     http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20141030/034b0c5c/attachment.html>


More information about the Mono-devel-list mailing list