[comtypes-users] Unsupported Variant - NotImplementedError: typecode 20 = 0x14

2008-12-12 Thread Sandy Walsh
I have a c++ method that returns a LONGLONG data type. How can I get this value from comtypes and avoid this NotImplementedError exception? Thanks in advance! -Sandy begin:vcard fn:Alexander Sandy Walsh n:Walsh;Alexander Sandy org:Impath Networks adr:Suite 100;;42 Payzant Ave;Halifax;NS;B3B

Re: [comtypes-users] Unsupported Variant - NotImplementedError: typecode 20 = 0x14

2008-12-12 Thread Sandy Walsh
Little update on this I added to automation.py ... _get_value(self): ... elif vt == VT_I8: return self._.VT_I8 tagVARIANT _fields_ = [ ... (VT_I8, c_longlong), And it works fine. Perhaps this should get patched? -S Sandy Walsh wrote: I have a c++ method that

Re: [comtypes-users] Unsupported Variant - NotImplementedError: typecode 20 = 0x14

2008-12-12 Thread Thomas Heller
Sandy Walsh schrieb: Little update on this I added to automation.py ... _get_value(self): ... elif vt == VT_I8: return self._.VT_I8 tagVARIANT _fields_ = [ ... (VT_I8, c_longlong), And it works fine. Thanks for the heads up. I have extended

[comtypes-users] comtypes 0.5.3 released

2008-12-12 Thread Thomas Heller
I just released comtypes-0.5.3. comtypes is a lightweight Python COM package, based on the ctypes FFI library, in less than 1 lines of code (not counting the tests). comtypes allows to define, call, and implement custom and dispatch-based COM interfaces in pure Python.

Re: [comtypes-users] dyndispatch branch

2008-12-12 Thread Thomas Heller
Michael Curran schrieb: Hi Thomas, Support for getEvents/showEvents would be great with dynDispatch. However I must admit, that I didn't realize that it was possible to support events purely with IDispatch. My project doesn't technically rely on support for COM events in the places