I've been implementing an ActiveX control using C#. The control has a
source interface marked using the ComSourceInterfaces attribute like this

[ComSourceInterfaces(typeof(ISimpleSource),typeof(IMweSource))]

Now, when I test this control in the ActiveX Control Test Container it
works fine. I can call the methods and I receive the events from the
control. But when I try to use the same control in VB6 (I drop it on to a
form) a stub is generated in VB6 for the event. However, this stub is never
called. It seems like VB6 ignores the event or does not receive it.

Does anyone have an explanation for this behaviour?

Kind regards,
Magnus Werner

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to