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