Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How is DCOM instanced?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00308648
Message ID:
00308653
Views:
15
>My assumption is DCOM, like COM, may be built with VFP as VCX and then applying BUILD DLL. Is DCOM instanced the same as COM:
>ol_MyCOM=CREATEOBJECT("MyDLL.MyDLLClass")
>

Actually, it'd be using CREATEOBJECTEX(), the principal difference from the calling standpoint is the need to specify a target server by NetBIOS name (or IP address in the case of NT/Win2K at least. You can use the local system by referencing it's name in the second parameter.)

>What additional steps would be necessary to instance a server DLL?
>

Well, a .DLL in and of itself must be an in-process server; to run it on a remote server, you need something like MTS to serve as a host. Direct instantiation of an in-process .DLL runs the .DLL on the same machine and in the same memory space as the caller.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform