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
I’m not sure about the context on this one, but shouldn’t you be calling the
COM object with data like:
columnTitles = VARIANT(pythoncom.VT_ARRAY | pythoncom.VT_BSTR,
[“something”])
Versus:
columnTitles = VARIANT(pythoncom.VT_ARRAY | pythoncom.VT_BSTR,
[None])
Without