Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Am I missing something when using CREATEOBJECTEX
Message
De
25/04/2005 08:56:14
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01007964
Message ID:
01008042
Vues:
19
Hi
In order to access the component on a remote machine you have to either install a full version of it on the client or at the very least register the typelibrary. To register the typelibrary copy the .VBR file to the client machine and run CLIREG32 (it ships with VFP in your VFP directory) to register the type library into the registry. The typelibrary is accessed locally by the DCOM to retrieve interface information about the object.


>I try to create an instance to a COM server registered on a different computer (not at mine).
>cClass = = CREATEOBJECTEX("{AE434E75-AEF0-426D-9F81-87D2F3031B25}","Server2003","")
>but I receive error "Class is not registered". What I missed? I am sure class is registered on Server2003 computer, I am sure
>{AE434E75-AEF0-426D-9F81-87D2F3031B25} is the CLSID for that class (at least that CLSID is in the registry).
>
>TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform