[python-win32] how to create a valid Sink

Christian K. ckkart at hoc.net
Wed May 9 08:51:52 CEST 2007


Hi,

I'd like to ask for help on how to create a valid event Sink which I can 
pass to the Advise() method of a message stores table.

Any class I made up so far gives the same error:

File "<stdin>", line 333, in notify
TypeError: The Python instance can not be converted to a COM object

So what attributes does an object need to be convertable to a COM object?

Thanks in advance, Christian



More information about the Python-win32 mailing list