Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
How to accede to an instance of a COM object?
I have a COM object(VFP) that makes a call to a PRG.
How I can make a call to a function of COM object from that same PRG?
This is the idea:
COM X.prg
---- -----
do X.prg com.Function()
I have tried to give name to COM object and to make the call with name.function() but does not seem accessible.
COM X.prg
---- -----
this.name="Proxy"
do X.prg Proxy.Function()
How I can accede to the functions of my COM object? Necessarily it has to be the same object and not a different instance.
Thanks.
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