[Mono-list] Using exported C++ classes in managed code
Tim Howard
timothy.howard at gmail.com
Tue Apr 8 09:28:47 EDT 2008
Seems like there is an awesome opportunity there for some template magic. :)
Thinking of the Boost.Python library makes me wish there was something
similar for C#.
On Tue, Apr 8, 2008 at 7:08 AM, Jonathan Pryor <jonpryor at vt.edu> wrote:
> On Tue, 2008-04-08 at 12:47 +0200, Kornél Pál wrote:
> > Hi,
> >
> > .NET Framework supports COM objects being marshaled as managed objects.
> >
> > By now Mono has very good COM interop support thanks to Jonathan
> Chambers.
> > You should try it out:
> > http://www.mono-project.com/COM_Interop
>
> Alas COM interop support requires COM-like classes -- interface based,
> reference counted, etc. It doesn't permit immediate reuse of existing
> C++ code unless that code was already providing COM objects...
>
> Beyond that, for binding arbitrary C++ code the "state of the art"
> hasn't progressed much: manual C wrappers and SWIG are currently it.
>
> - Jon
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080408/961bbae7/attachment.html
More information about the Mono-list
mailing list