Information générale
Catégorie:
COM/DCOM et OLE Automation
>Sorry, I should rather say that TWO objects are placed in VFP. As I said "even receiving object does not have to be placed on the form. It may be just created with CREATEOBJECT()". I see the key here is not that both objects are in the same form or not, but that both objects are "in VFP", so to say. I was talking about creating the receiving object visually.
>
>In this particular case your ActiveX is (I believe) is treated as also VFP object (OLE Control). And BindEvents is not supposed to bind two VFP objects directly.
>The difference between ActiveX and "normal" COM object (DLL or EXE) is that ActiveX can be placed on the form, and combines in its instance the common VFP object propertes and specific ActiveX properties, but COM DLL or EXE cannot do this. That's why I think that ActiveX is treated as VFP object.
>Actually I didn't test BindEvents before with ActiveX, as it was not supposed to work that way, but I might try.
Ok... I think I'm with you now. Thanks for beating that into me!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement