[python-win32] Howto create Array of Variants by ref (win32com)

Martin Kuner martinkuner at gmx.de
Thu Jun 23 21:48:08 CEST 2005


Hi,

I have to call a function via ActiveX whith the following interface
object.Call(paramName, paramVals)
where
paramName: array of strings by ref
paramVals : array of variants by ref

How can I do that, when paramVals i.e. is an array of strings ?

I tried it in the following way but without effort.
oViLogPrint.call(["strEntry","Error"],["Hello World"])
but it doesn´t work.

Has someone a plan for that ?

BTW: That´s one function of the LabVIEW ActiveX interface

Thanks,
Martin


More information about the Python-win32 mailing list