[Mono-dev] Com Interop Status

Kornél Pál kornelpal at gmail.com
Tue Jun 20 15:25:37 EDT 2006


>3. Emitting of wrapper methods in C# using DynamicMethod. This is
>handled in MSComInterop for MS Com Objects. It's very basic right now,
>and needs some work. Basically, I need the functionality in the current
>emit_marshal* methods in marshal.c to handle MarshalAs attributes, etc.
>Does DynamicMethod sound like the right tool for the job here? That's
>2.0 specific, so I guess Com Interop is a 2.0 specific feature unless
>anyone objects.

I don't know wherher it's better to use DynamicMethod instead of some native 
code in the runtime but since you are using DynamicMethod from corlib that 
contains DynamicMethod as well I don't see any problem with making it 
available in 1.x profile maked as internal.

Kornél 




More information about the Mono-devel-list mailing list