Hello,
I'm trying to use a COM object that has a function with a signature like
this:
HRESULT put_Foo(int i, DOUBLE val);
The code generated by makepy includes this:
# The method Foo is actually a property, but must be used as a method to
correctly pass the arguments
def Foo(self, i=defaultNamedNotOptArg):
"""property Foo"""
return self._oleobj_.InvokeTypes(30, LCID, 2, (4, 0), ((3,
1),),i)
How do I set this? If I try to call Foo(0, 1.0) it (obviously) complains
about an incorrect number of arguments. How do I pass it the double?
Thanks,
Dana
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32