Re: [python-win32] Python Windows Scripting Engine

2024-08-01 Thread Valentin Abrutski
Hi Mark, just to let you know. I found the root cause. I was trying to get 32bit version of interface and pywin32 export 64bit version(different GUID and slightly different function signature) Thank you for your help. On Wed, Jul 31, 2024 at 5:08 PM Valentin Abrutski wrote: > Thank you Mark. I

Re: [python-win32] Python Windows Scripting Engine

2024-08-01 Thread Valentin Abrutski
Hello Mark. Sorry for bothering you again. I got another issue. When I call IActiveScript method: SetScriptSite(IActiveScriptSite site) I got invalid cast exception. Mostprobably it means that IActiveScriptSite can't be properly passed as argument to SetScriptSite. My assumption that my defini

Re: [python-win32] Python Windows Scripting Engine

2024-08-01 Thread Mark Hammond
On 2024-08-01 4:37 p.m., Valentin Abrutski wrote: Hello Mark. Sorry for bothering you again. I got another issue. When I call IActiveScript method: SetScriptSite(IActiveScriptSite site) I got invalid cast exception. Mostprobably it means that IActiveScriptSite  can't be properly passed as arg