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
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
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
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.
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