Re: [python-win32] how to create a valid Sink

2007-05-09 Thread Christian K.
Mark Hammond wrote: >> Forgive my ignorance but those are my first steps with com. Does that >> mean I should create and register a COM server? > > You should create one - you probably don't need to register it. > >> Basically I'm trying to reimplement the following code in python: >> >> http://w

Re: [python-win32] how to create a valid Sink

2007-05-09 Thread Mark Hammond
> Forgive my ignorance but those are my first steps with com. Does that > mean I should create and register a COM server? You should create one - you probably don't need to register it. > Basically I'm trying to reimplement the following code in python: > > http://www.codeproject.com/internet/CMa

Re: [python-win32] how to create a valid Sink

2007-05-09 Thread Christian K.
Mark Hammond wrote: >> 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. > > This might be tricky unless pywin32 already has support for the specific > interface you need. I want to receive 'new mail' notification

Re: [python-win32] how to create a valid Sink

2007-05-09 Thread Mark Hammond
> 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. This might be tricky unless pywin32 already has support for the specific interface you need. > Any class I made up so far gives the same error: > > File "", line 3

[python-win32] how to create a valid Sink

2007-05-08 Thread Christian K.
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 "", line 333, in notify TypeError: The Python instance can not be converted to a COM object So what attribu