Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL and EXE same process space
Message
From
18/03/2001 19:05:51
 
 
To
17/03/2001 13:23:12
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00485939
Message ID:
00486342
Views:
8
>>>Is it possible to have Dll and Exe running in the same space?
>>
>>An .EXE runs in its own process space; if it instances a DLL within it, unless the DLL is hosted by MTS or COM+, it runs in the same process space, however, it has its own execution context, so in general, the internal state for the EXE is insulated from activity within the DLL. running everything in the default data session and using identical PUBLIC memvars may cause some unexpected and annoying side-effects which may only happen occasionally, frequently causing subtle errors, and strangely inexplicable alteration of the data environment, which you insist would prove that gremlins infest the corporate network and deugging often needs several calls to the Psychic Hotliny.
>>
>>DLLs run in MTS or COM+ run within the host program, which operates as an out-of-proc EXE server, so if the EXE instances some class vi MTS, thet run in separate processesoin all situations.
>If a Dll instances EXE it is still two separate processes?

An .EXE is always 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