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

2024-07-31 Thread Thomas Geppert
In case somebody has the same issue and stumbles into this thread I will answer my own question. With the current release (306) of pywin32 it is not possible to create a COM Record and assign a value of type SAFEARRAY(VT_RECORD) to one of the record fields. I have opened a pull request on gi

Re: [python-win32] Python Windows Scripting Engine

2024-07-31 Thread Valentin Abrutski
Thank you Mark. I will try that. Appreciate ср, 31 июл. 2024 г., 17:01 Mark Hammond : > Sorry, I can't explain that - running pyscript.py should register things > and support for IActiveScriptParse is unconditional. You could try running > `pyscript.py --debug` which might print some debug stuff,

Re: [python-win32] Python Windows Scripting Engine

2024-07-31 Thread Mark Hammond
Sorry, I can't explain that - running pyscript.py should register things and support for IActiveScriptParse is unconditional. You could try running `pyscript.py --debug` which might print some debug stuff, or even add print statements to client.py's QueryInterface function to make sure it's act

Re: [python-win32] Python Windows Scripting Engine

2024-07-31 Thread Valentin Abrutski
Hi Mark. Thank you for the idea. And appreciate your help. I tried it. And to be sure that I'm doing it right. I've tried to use this approach to get not only IActiveScriptParse, but also IActiveScript Still the same issue. I can get IActiveScript. But when try to get IActiveScriptParse I get err