Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DCOM/Remote Automation Problem
Message
From
07/08/2000 16:22:48
 
 
To
07/08/2000 16:15:55
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00401852
Message ID:
00401919
Views:
28
>You can have UI on a VFP out-oif-process server (.EXE) - it simply can't interact with the client session. You coukd easily have a server with a monitor screen, or even a live application up and running, at the same time it published a COM interface as an out-of-process server
>
>Sorry, I'm being dense here...
>How would the COM component provide the visuals itself?
>I've worked more with DLLs and not EXEs, but when I've tried to have an EXE COM component show anything, it doesn't blow up, but I don't see anything.

Right. The UI is not a part of the COM interface; the .EXE itself, where instanced, has a UI, that some poor innocent critter could interact with when that .EXE had the UI focus. This is why it's bad to pop a MESSAGEBOX() in a method on a remote server - there's no one there to click on OK and let it proceed, so the method just plotzes waiting on someone to wander by and click... You can have UI elements in an out-of-process server, they do not interact with the COM client application, whether remote or local - the UI is the UI of the out-of-process server; it belongs to (duh) another process, perhaps (in the case of DCOM) running on another machine; maybe that's why it's called an out-of-process server?
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