General information
Category:
Coding, syntax & commands
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only