Looks like the parameters to SetIntegerElement are reversed:

>>> objWBM.Methods_('SetIntegerElement').InParameters.Properties_[0].Name
'Integer'
>>> objWBM.Methods_('SetIntegerElement').InParameters.Properties_[1].Name
'Type'

If I switch the call to
success, = call(objWBM, "SetIntegerElement", 5, 0x25000004)
the expected value is printed.

  Roger




_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to