Re: [python-win32] Calling a method with SAFEARRAY parameter

2024-10-01 Thread Thomas Geppert
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

Re: [python-win32] Creating COM Records with a field of type SAFEARRAY(VT_RECORD)

2024-07-31 Thread Thomas Geppert
github ( https://github.com/mhammond/pywin32/pull/2317 ) to add this functionality. Cheers, Thomas On 2024-07-23  07:42 a.m. , Thomas Geppert wrote: Is it currently somehow possible to create a COM Record and assign a value of type SAFEARRAY(VT_RECORD) to one of the record fields? I'm de

[python-win32] Creating COM Records with a field of type SAFEARRAY(VT_RECORD)

2024-07-23 Thread Thomas Geppert
Is it currently somehow possible to create a COM Record and assign a value of type SAFEARRAY(VT_RECORD) to one of the record fields? I'm dealing with a COM interface that defines a COM Record of the following type in the IDL-file.     typedef [uuid(x)]     struct tagT_RECORD_A {         S