Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP, ADO and internet
Message
De
15/02/2000 07:32:32
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00330812
Message ID:
00332090
Vues:
24
Hi Rick,

>>>If I use DCOM doesn't every client have to register the server on thier local machine? Can registration be automatic? If it does require registration that sounds like a nightmare for maintenance.
>>
>>If you use CREATEOBJECTEX(), you can specify the server location without having to pre-register it. Look up CREATEOBJECTEX in the Docs -- it's all explained there.
>
>Sorry, but that's not true. The client must have a copy of at least the type library registered. Without that you can't access a remote component.

Is that true if you specify the CLSID and remote server name as the two parameters for CREATEOBJECTEX? (I'm not at a place where I can test it right now). The docs for CREATEOBJECTEX say:
If you include a CLSID, the COM object must be registered on the remote server you specify with cComputerName. If you include a PROGID, the COM object must be registered on both the your local computer and the remote computer you specify with cComputerName.

Attempting to use a PROGID without first registering the server on your local computer will generate the OLE error Code 0x800401f3, “Invalid Class String.”
>If anonymous clients are the goal a Web based approach should be adopted. Anything running over HTTP can be anonymous...

Agreed.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform