Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Am I missing something when using CREATEOBJECTEX
Message
From
25/04/2005 08:56:14
 
 
To
25/04/2005 04:19:53
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01007964
Message ID:
01008042
Views:
18
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
Map
View

Click here to load this message in the networking platform