Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement