Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running server or client ?
Message
De
06/07/2004 15:59:25
 
 
À
01/07/2004 16:27:47
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00919848
Message ID:
00921155
Vues:
18
Hi Lazaro:

It will be run in Machine1.
That is why Machine1 is called COM Server.
The object x created in Machine2 is a proxi.

Take a look at this article from Martin Salias:
http://www.utmag.com/July2002/Page22.asp



>Hi all !!
>
>Image the follow scenare:
>
>I have a written COM component in VFP7.0. This COMponente is registred in "machine1".
>
>I have also a written application in vfp7.0 that is running in "machine2". In lostfocus
>event of the control text1 i execute the command:
>
> x = CREATEOBJECTEX("myclass","\\machine1","")
>
> var1 = x.method1()
>
>My doubt is: The code encapsulated in x.method1() will be run in machine1 or machine2 ?
>
>Thanks.
>
>Lázaro Santos.
Ricardo Aidelman
Software Developer
Praxis Computación
Buenos Aires, Argentina
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform