Using .NET COM-objects and "GetType"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • svwi@combra.se

    #1

    Using .NET COM-objects and "GetType"

    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

Working...