Hi Tim,
Thanks for the pointer! I'll let the maintainers of this software know.
Do you know if applying this fix is sufficient for win32com to successfully
handle returned structs?
-Terry
On Mon, Apr 27, 2020 at 11:32 PM Tim Roberts wrote:
>
> On Apr 27, 2020, at 12:58 PM, Terry Davis
On Apr 30, 2020, at 11:47 AM, Terry Davis wrote:
>
> Thanks for the pointer! I'll let the maintainers of this software know.
>
> Do you know if applying this fix is sufficient for win32com to successfully
> handle returned structs?
I don’t know. That was the fix suggested by the old mailing
On Apr 27, 2020, at 12:58 PM, Terry Davis wrote:
>
> I looked in the generated file, and its RecordMap dict was empty, with a
> comment. There are a dozen or so structs that should be available to the
> interface. Is there any workaround for this, such as manually defining each
> com_record?
I just discovered this message:
https://mail.python.org/pipermail/python-list/2003-August/214888.html
and when I tried getting a com_record:
client.Record("SoftwareInfo",app._com)
I got this error:
ValueError: The structure 'SoftwareInfo' is not defined in module 'x1x0'
I looked in the generated
Any ideas?
On Tue, Jan 28, 2020 at 1:06 PM Terry Davis wrote:
> Update 2: After discovering the `pythoncom.GetRecordFromGuids` and
> `.GetRecordFromTypeInfo` (with the comment: "This function will fail if the
> specified type info does not have a guid defined").
>
> I found that the Record
Update 2: After discovering the `pythoncom.GetRecordFromGuids` and
`.GetRecordFromTypeInfo` (with the comment: "This function will fail if the
specified type info does not have a guid defined").
I found that the Record types don't appear to have a GUID.
lib_pyITypelib.GetDocumentation(4) =
Update: The functions that don't work return Record types, and the ones
that do work just return multiple values (a tuple).
Do I need to pass in the appropriate Record type (or an empty record)
during each function call?
If so, how do I get to the Record types that I see in the python object