Hi,
- - - - - - - -
def AddTest(self,
lpProperty=defaultNamedNotOptArg,
vValue=defaultNamedNotOptArg):
method AddTest
return self._oleobj_.InvokeTypes(4, LCID, 1,
(24,
0), ((30, 1), (12, 1)),lpProperty, vValue)
Can you please try changing the 30 there
I tried changing the 30 to 8 in the above line. This
does *not* work either, although it gives a different
error this time:
obj.AddTest('IsBuy', True)
Traceback (most recent call last):
File stdin, line 1, in ?
File
c:\Python24\lib\site-packages\win32com\gen_py\98B8AE14-466F-11D6-
I tried the late-bound mode (by deleting all the
generated files in the gen_py directory).
It still gives me the same TypeError.
obj.AddTest('IsBuy', True)
Traceback (most recent call last):
File stdin, line 1, in ?
File COMObject XTAPI.TTOrderSelector, line 2, in
AddTest
TypeError: The
Does the error above show with some certainty that
it's a problem with the COM object?
Sadly it doesn't demonstrate much with any
certainty!
Humm... Is there a way to debug the python side more
carefully? E.g., using a lower-level interface in the
pythoncom module or something?
I am struggling with a problem related to passing a
VARIANT argument to a COM object.
I am getting this exception:
TypeError: The VARIANT type is unknown (001e)
Hmmm - I guess that is a bug in pywin32 - that variant type *is* valid in a
TYPEDESC, so pywin32 probably should convert that