Python COM

Diez B. Roggisch deets at nospam.web.de
Tue Jul 29 07:32:26 EDT 2008


Méta-MCI (MVP) wrote:

> Hi!
> 
> Example, with Pywin32:
> 
> import win32com.client
> moncom = win32com.client.Dispatch('MyCOM1.AdvMethod')
> moncom.IAdvMethod(...
> 
> See Pywin32 here:  http://sourceforge.net/projects/pywin32/

That's not working, because the OP has a custom interface, not
IDispatch-based.

Diez



More information about the Python-list mailing list