[Mono-dev] [PATCH] patches that allow calling mono_init_com_types from native using ICall's.

Bill Holmes billholmes54 at gmail.com
Tue Jan 6 10:06:32 EST 2009


I agree with  Kornél.  Please add mono_init_com_types to
GetIUnknownForObjectInternal and GetIDispatchForObjectInternal.  I do
not understand why it would be needed in QueryInterfaceInternal.  Even
if the object is managed, cominterop_ccw_queryinterface would need the
mono_init_com_types call, but that should have been called from
GetIUnknownForObjectInternal (when you add it.)

Another way to put it is, what are you calling QueryInterface on that
needs the types initialized from mono_init_com_types?


More information about the Mono-devel-list mailing list