I am doing an ATL Project in VC++ 2005 to use as ActiveX in VB6. I added methods, properties and events following the steps in this tutorial: http://www.codeproject.com/KB/atl/SimpleATLComWithDotNet.aspx. Everything is working fine while I'm working inside the class. But now I need to call an event or method of the class but from a global method.
I already tried to query an interface, but the event is not dispatched; maybe I'm not doing it well.
How can I do this?