[Mono-dev] [PATCH] Calling COM methods with delegates

Zoltan Varga vargaz at gmail.com
Wed Sep 9 17:38:17 EDT 2009


Looks ok.

       Zoltan

On Wed, Sep 9, 2009 at 11:19 PM, Bill Holmes <billholmes54 at gmail.com> wrote:

> Hi,
>
> The attached patch fixes a bug with calling a COM method using a
> delegate.  I have also added a unit test for this bug.
>
> 2009-09-09  Bill Holmes  <billholmes54 at gmail.com>
>
>        * object.c (mono_object_get_virtual_method) : Call
>          mono_cominterop_get_invoke if the object is a COM object.
>
>        * mini-trampolines.c (mono_delegate_trampoline) : Call
>          mono_cominterop_get_invoke if the delegate target object
>          is a COM object.
>
>        * cominterop.cs : Adding a test for invoking delegates that
>          target COM methods.
>
>        Code is contributed under MIT/X11 license.
>
> -bill
>
> _______________________________________________
> Mono-devel-list mailing list
> 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/20090909/34469815/attachment.html 


More information about the Mono-devel-list mailing list