[python-win32] How do you find the Windows process ID of a COM server?

Sidnei da Silva sidnei at enfoldsystems.com
Wed Feb 13 16:45:41 CET 2008


On Feb 13, 2008 1:00 PM, Salim Fadhley <sal at stodge.org> wrote:
> Thanks Kevin,
>
> This is all new stuff to me. At the moment I do not have a handle to the
> Excel window, nor do I know how to get that. Presumably this is something
> that I can extract from the COM server?
>
> This window handle of which you speak - is it anything more than a COM
> object that represents the Window object of the Excel application?
>
> Also is there a more COM / Python friendly way to kill processes than what I
> currently do which is to use os.system to execute the windows Kill Process
> command?

There are some great tips and explanations in this article:

 http://www.ddj.com/windows/184416547

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


More information about the python-win32 mailing list