Information générale
Catégorie:
COM/DCOM et OLE Automation
>>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?
Thanks Mark
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement