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.
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.