use win32 COM in python

Dave Brueck dave at pythonapocrypha.com
Mon Aug 30 10:31:20 EDT 2004


Lin Jingxian wrote:

> hi,
>   I have a C++ implemented COM server that give out a method like: int
> read(unsigned char* buf, int lenth), How can I use this method from python?
> what is the signature?

Have a look at ctypes and/or win32com - they allow you to use COM (in 
varying degrees) from Python, so what you're trying to do is probably 
possible.

-Dave



More information about the Python-list mailing list