[python-win32] problem on data type conversion
Patricio Stegmann
kpoman at hotmail.com
Sat Aug 29 15:06:58 CEST 2009
Hello to all,
I am trying to use an activex component that has a property named Display:
"""
_prop_map_get_ = {
"AcquisitionMode": (1610743818, 2, (3, 0), (), "AcquisitionMode", None),
"Display": (1610743816, 2, (3, 0), (), "Display", None),
"TimeOut": (1610743820, 2, (3, 0), (), "TimeOut", None),
}
_prop_map_put_ = {
"AcquisitionMode": ((1610743818, LCID, 4, 0),()),
"Display": ((1610743816, LCID, 4, 0),()),
"TimeOut": ((1610743820, LCID, 4, 0),()),
}
"""
This works:
print l__acq.Display
However this doesnt:
l__acq.Display = 135780 # 135780 is the handle to a window on my screen
and I get this:
*** com_error: (-2147467262, 'Interfaz no compatible', None, None)
Please can someone help me ?
_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/products/events.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20090829/f0e6e4c1/attachment.htm>
More information about the python-win32
mailing list