Running inproc COM-components in a surrogate process using win32com

Patrick Mezenberg qpmez at
Fri Mar 19 15:57:09 CET 2004

Hi all,

It should be possible to let inproc COM-components live in a surrogate
process (for instance in the default Dllhost.exe surrogate process, for
more info see search for: "DLL Surrogates
(COM)"). Somehow this "feature" does not seem to work when running
inproc COM-components launched within a python environment using the
win32com package (the inproc component then lives in the python.exe
process). Does anyone know whether win32com supports surrogates
processes and if so what could I done wrong? Or is there perhaps an
alternative, I use python for testing inproc COM-components so it is not
an option to let the COM-components live in the python process (if the
component under test chrashes my testenvironment will crash too).

Thanks in advance!


More information about the Python-list mailing list