Running inproc COM-components in a surrogate process using win32com

Patrick Mezenberg qpmez at oce.nl
Fri Mar 19 09:57:09 EST 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 http://msdn.microsoft.com 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!

Regards,
Patrick



More information about the Python-list mailing list