Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject() a COM Server in another PC
Message
De
10/04/2001 11:36:55
 
 
À
09/04/2001 23:50:48
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00493764
Message ID:
00494034
Vues:
22
>>>>>The question is: How I instantiate (CreateObject) the COM server from another machine?
>>>>
>>>>Put the server into MTS/COM+, and CREATEOBJECTEX("myCOMserver.myclass", "MyServerComputerName").
>>>
>>>Is this better than creating a Client setup from COM+ and then using CREATEOBJECT()?
>>
>>Hey guys, I've created a COM object that reads the registry setting of HKEY_LOCAL_USER. Now, the question. If the object is registered on a different machine, and the client calls it with createobject, which registry will it read? The one on the client's machine, or on the machine where it's registered?
>
>The machine it executes on, in the context that it executes in. If you use DCOM, the client's registry isn't visible to the remote server.

Thanks for the help!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform