Using .NET COM-objects and "GetType"

svwi at combra.se svwi at combra.se
Mon Mar 12 05:53:39 EDT 2007


Hi.

I need to dynamically retreive the type name of a COM-object exposed
by a C# COM server.

This was previously successfully done in .NET framwork 1.X with the
method "GetType()", inherited by all classes from System.Object.

Moving to .NET framework 2.0, it stopped working. All I get from
"GetType()" is a PyIUnknown that has no IDispatch interface.

Cannot understand how to get it working.

Appreciate any help.

Thanks!

/nevS




More information about the Python-list mailing list