Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CREATEOBJECTEX()
Message
From
02/08/2000 18:34:57
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00400003
Message ID:
00400126
Views:
13
Ed,

>Mark, CREATEOBJECTEX() requires a second parameter, being the target machine that will instance the out of process server for DCOM. ... The component has to be registered on the server, not on the client that issues CREATEOBJECTEX().

Not exactly true. If registered ONLY on the server, you must specify the target machine name in the second parameter, but if registered on BOTH the client and server machines, just the CLSID is OK.

From CREATEOBJECTEX help:

If cComputerName is the empty string, the COM object is instantiated on the local computer or a redirected machine as specified in the registry. Use Clireg32.exe or Racmgr32.exe to redirect the local machine to another machine through the registry.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Reply
Map
View

Click here to load this message in the networking platform