Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CREATEOBJECTEX()
Message
From
02/08/2000 16:16:37
 
 
To
02/08/2000 15:44:12
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00400003
Message ID:
00400044
Views:
15
>createobjectex is used with out-of-proc. sevrers (exe). Use createobject

That's not entirely accurate. CREATEOBJECTEX is used to instantiate a server that physically resides on another machine (DCOM). Usually this means that the remote server needs to a be an exe, but this is not always the case (an in-proc server can be configured to use a surrogate process like MTS or dllhost). CREATEOBJECTEX can bypass the registry CLSID lookup and instanciate a server on a remote box even when that same server is configured to run locally.

You can also use CREATEOBJECT to start a server on another machine, but with CREATEOBJECT, you can only pass a ProgID, and that ProgID must be configured in the registry to start a process on a remote machine.

Mark- did you get your CLSID from the remote machine, or your own?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform