[python-win32] COM and threading

2008-06-27 Thread June Kim
Running the following code results in an attribute error: Exception in thread Thread-1: Traceback (most recent call last): File "C:\Python25\lib\threading.py", line 486, in __bootstrap_inner self.run() File "testcom.py", line 10, in run print self.ie.locationUrl File "C:\Python25\Lib

Re: [python-win32] FireEvent : comtypes work but win32com fails, why?

2008-06-26 Thread June Kim
What roundabouts would you recommend to make FireEvent work with pywin32 module? My clients are mostly installed with pywin32, and switching to comtypes is a risk now. 2008/6/26, Mark Hammond <[EMAIL PROTECTED]>: > > I do not know where you see the VT_VARIANT. > > > > Here is the IDL defn: > > >

Re: [python-win32] FireEvent : comtypes work but win32com fails, why?

2008-06-24 Thread June Kim
2008/6/25 June Kim <[EMAIL PROTECTED]>: > IE's FireEvent works with a single argument, for example, > FireEvent("onKeyUp"). However, it doesn't work with two arguments : > FireEvent("onKeyUp",event). > > But It works without a problem with comty

[python-win32] FireEvent : comtypes work but win32com fails, why?

2008-06-24 Thread June Kim
IE's FireEvent works with a single argument, for example, FireEvent("onKeyUp"). However, it doesn't work with two arguments : FireEvent("onKeyUp",event). But It works without a problem with comtypes. See the following example to reproduce and compare: file: c:/temp/javascripttest/onkeyup.html