[Mono-dev] RE: Com Interop Patch - mcs
monodanmorg at yahoo.com
Fri Jan 6 20:01:43 EST 2006
Can you provide some examples that work on Mono?
"Jonathan S. Chambers" <Jonathan.Chambers at ansys.com> wrote: Here the patch for the class libs.
From: Jonathan S. Chambers
Sent: Friday, January 06, 2006 11:33 AM
To: mono-devel-list at lists.ximian.com
Subject: Com Interop Patch
Here's a first attempt at a patch for COM Interop. This only
provides support for RCWs (Runtime Callable Wrappers), i.e. using
unmanaged COM components from managed code. This should support both
classes used from Interop Assemblies (where metadata is known), as well
as bare interface pointers (with no metadata) who are wrapped using
The patch doesn't seem to introduce any regression failures, and
theoretically no code in this patch should even be hit unless you are
using COM Interop functionality.
Just as a quick update, as much functionality as possible has
been moved to managed code (either in the Marshal or COMInteropHelpers
classes). This helps maintenance, doesn't bloat the runtime with
component specific code, removes compile time dependencies, etc. I'm
hoping for all code in the runtime to be generic component support code.
All specific component code (COM, XPCOM, Mainwin COM) will be in
There's lots left to do, but this provides basic functionality.
I'm sure the patch needs cleanup before commit, so please let me know
what needs changed.
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
Yahoo! Photos Showcase holiday pictures in hardcover
Photo Books. You design it and well bind it!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list