Re: [python-win32] PyIMAPISession && IID_IMAPIAdviseSink

2010-06-11 Thread Arn Vollebregt
> I'm traveling at the moment so can't look in any detail, but what would > help is if you could attach a diff rather than the modified files. Here you go. Regards, Arn Vollebregt PyIMsgStore.cpp.patch Description: Binary data PyIMsgStore.h.patch Descript

Re: [python-win32] PyIMAPISession && IID_IMAPIAdviseSink

2010-06-10 Thread Arn Vollebregt
I have made an attempt at implementing the Advise function for PyIMsgStore, as you will find attached. However, following the trend thusfar, onNotify() still is not called. Am I on the wrong path here, or am I still missing something? Regards, Arn Vollebregt P.S.: In my previous email I was

Re: [python-win32] PyIMAPISession && IID_IMAPIAdviseSink

2010-06-08 Thread Arn Vollebregt
by any chance be implemented in the near future? Reading C++ is one thing, but I doubt I'll be able to implement this myself. It looks to me like a simple copy/paste action isnt going to cut it, going by the code (difference) in PyIMAPISession.cpp and PyIMAPITable.cpp Regards, Arn Volle

[python-win32] PyIMAPISession && IID_IMAPIAdviseSink

2010-06-07 Thread Arn Vollebregt
OutlookSpy[4] in the IMsgStore::Advise() tab on the folder in question, so I must be doing something wrong. I have attached my example code, and would appreciate any pointers on the subject. Regards, Arn Vollebregt [1] http://mail.python.org/pipermail/python-win32/2009-August/009503.html [2

[python-win32] Implementing IID_IMAPIAdviseSink

2009-08-25 Thread Arn Vollebregt
__ == '__main__': main() sink = pythoncom.CoCreateInstance(Sink._reg_clsid_, None, pythoncom.CLSCTX_ALL, mapi.IID_IMAPIAdviseSink) pywintypes.com_error: (-2147221164, 'Class not registered', None, None) Thank you in