how to use a com component in .net that implements a .net interfac

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?bXBybWF4?=

    how to use a com component in .net that implements a .net interfac

    I have an interface defined in .NET that is exposed to COM. I have a VB6
    component that implements this interface. If I try to use this VB6 component
    in .NET and the InterfaceType attribute on the .NET Interface is set to
    anything other than ComInterfaceTyp e.InterfacesIsI Dispatch then the code
    fails.

    When set to ComInterfaceTyp e.ComInterfaceT ype.InterfaceIs Dual the properties
    just don't work but no errors occur. When
    ComInterfaceTyp e.InterfaceIsIU nknown memory access violation errors occur.
Working...