I'm trying ActiveX in my project, but I'm still confused.
My ActiveX object is CMyX, and I use that object from my Client app.
In one method I have declared 2 ActiveX objects.
Then I add some data to my new created objects and I run some action.
I supposse I have 2 separate objects.Code:'in a Method of a client application Dim obj1 as New CMyX, obj2 as New CMyX obj1.AddData( Item1 ) obj2.AddData( Item2 ) obj1.RunSomeAction()
Surprisse, my Obj1 contains all data: Item1 and Item2.
Could somebody help me understand what is happening?




Reply With Quote