Re: [python-win32] How to enable events for Python Active Scripting?

2023-03-12 Thread Mark Hammond
It's difficult to know what exactly you mean, but if it is how to use IConnectionPoint etc from Python in general, then you should check out the following files in the distribution: com\win32com\demos\connect.py com\win32com\server\connect.py com\win32com\client\connect.py If it is about the

[python-win32] How to enable events for Python Active Scripting?

2023-03-12 Thread Wuping Xin
I have a host application that uses Python Active Scripting. That host application implements IConnectionPoint / IConnectionPointContainers etc, and I am able to set COM event callbacks in C++. But I am having a hard time to figure out how to set COM event callback with Python Active