It worked it was easier than expected!
Il gio 26 set 2024, 07:11 Thomas Geppert ha scritto:
> You can simply pass a string and two empty lists like:
>
> titles, positions = GetTableInfo("TABLENAME", [], [])
>
>
> Am 25.09.2024 um 13:41 schrieb Alessandro Fiorino:
>
> I have to call a method of a
You can simply pass a string and two empty lists like:
titles, positions = GetTableInfo("TABLENAME", [], [])
Am 25.09.2024 um 13:41 schrieb Alessandro Fiorino:
I have to call a method of a COM Object which is defined as
GetTableInfo ([in] BSTR bstrTableName,[in, out]
SAFEARRAY(BSTR)*bstrColu
])
Without context, I can’t actually do much other than this suggestion.
HTH
Steven
From: python-win32 On
Behalf Of Alessandro Fiorino
Sent: Wednesday, September 25, 2024 4:42 AM
To: python-win32@python.org
Subject: [python-win32] Calling a method with SAFEARRAY parameter
I have to call a method of a
I have to call a method of a COM Object which is defined as
GetTableInfo ([in] BSTR bstrTableName,[in, out]
SAFEARRAY(BSTR)*bstrColumnTitles,[in, out] SAFEARRAY(long)*lColumnPos)
I tried with
columnTitles = VARIANT(pythoncom.VT_ARRAY | pythoncom.VT_BSTR,
[None])
columnPos =