views:

23

answers:

0

i,

I`ve written a class A and implemented it in an Active X object (AXObj). Class A should also receive events fired from another object(O2).

O2 is created inside A and I use EasyAdivse to connect the two objects, i.e. O2 is the event source.

I know O2 is exists because I am able to directly call functions that O2 implements from within A; i.e. pO2->Sneeze() works. But I never receive any events.

If I implement my class inside a .net Form application, everything works! A receives events fired from O2.

Does anyone have suggestions that could fix my implementation inside an ActiveX objectÉ

Thanks,

MJ