Information générale
Catégorie:
Programmation Orientée Object
I haven't tried it with a VFP COM. The answer is certainly NO if the COM was written in VC++. I would say that it will not work with VFP COM objects either. BTW, how do you declare the parameter in the COM object (ie what type is it?)?
Vlad
>I have a main object from which I create COM server object and pass the reference to main object to COM server. it looks like this:
>
>Main.Init
>
>goCOMSRV = create([myDCOM.DCOM],this)
>
>
>in Init of COM server I have the following:
>
>lparameters voMain
>
>this.roMAIN = voMain
>
>this.roMain.Method && at this line I got an error that roMain is
> not a member
>
>so, how should I pass an object to COM object?
Précédent
Suivant
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