M
mprmax
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 ComInterfaceType.InterfacesIsIDispatch then the code
fails.
When set to ComInterfaceType.ComInterfaceType.InterfaceIsDual the properties
just don't work but no errors occur. When
ComInterfaceType.InterfaceIsIUnknown 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 ComInterfaceType.InterfacesIsIDispatch then the code
fails.
When set to ComInterfaceType.ComInterfaceType.InterfaceIsDual the properties
just don't work but no errors occur. When
ComInterfaceType.InterfaceIsIUnknown memory access violation errors occur.