Re: [python-win32] com events while running wx main loop

2007-04-20 Thread Christian K
Thomas Heller wrote: > Christian K. schrieb: >>> Second, if you are running the exact sample that I posted then it should >>> work >>> for InternetExplorer, and with slight changes also for Outlook. At least >>> it worked for me. >> Well, here it doesn't. > > comtypes uses fairly extensive loggi

Re: [python-win32] How to use IExtractImage in python

2007-04-20 Thread Steven James
Thank your your excellent help, Mark. I have gotten everything to compile properly, and can call IExtractImage::GetLocation and IExtractImage::Extract from python on the necessary files. Even the exceptions on unknown file types seem to be handled properly. The final problem is getting the image

Re: [python-win32] com events while running wx main loop

2007-04-20 Thread Thomas Heller
Christian K. schrieb: >> Second, if you are running the exact sample that I posted then it should work >> for InternetExplorer, and with slight changes also for Outlook. At least >> it worked for me. > > Well, here it doesn't. comtypes uses fairly extensive logging calls in certain areas. You c

Re: [python-win32] com events while running wx main loop

2007-04-20 Thread Thomas Heller
Christian K. schrieb: > > I successfully read out the Outlook inbox using comtpyes but finally > switched back to pywin32 because I was not able to interprete the value > of MailItem.CreationTime, > e.g: > obj.Session.Folders['mail.server.com'].Folders['INBOX'].Items.Item(1).CreationTime > which

[python-win32] Accessing other than default COM interface

2007-04-20 Thread Wikström Sven
Hi. I'm a COM newbie so please excuse my ignorance! I have a coclass exposing a set of interfaces to COM: coclass ICAList { [default] interface _ICAList; interface _Object; interface IList; interface ICollection; interface IEnumerable; }; The default interface "ICAList" does

Re: [python-win32] com events while running wx main loop

2007-04-20 Thread Thomas Heller
Christian K. schrieb: > Thomas Heller wrote: >> Christian K. schrieb: >>> Now I installed comtypes from svn and get this error running your new >>> example: >>> >>> Traceback (most recent call last): >>>File "C:\Dokumente und Einstellungen\ck\Desktop\x.py", line 64, in ? >>> Listener() >>>

Re: [python-win32] com events while running wx main loop

2007-04-20 Thread Christian K.
Thomas Heller wrote: > Christian K. schrieb: >> Now I installed comtypes from svn and get this error running your new >> example: >> >> Traceback (most recent call last): >>File "C:\Dokumente und Einstellungen\ck\Desktop\x.py", line 64, in ? >> Listener() >>File "C:\Dokumente und Einst