Environment:
Windows 11, Python v3.10 virtual environment in PyCharm, and pywin32 v304.
Problem:
I was trying to dispatch a COM object with Events. Even after manually running the makepy process and creating the gencache of the COM object, it was still requesting I run the makepy process manually.
Solution:
In /win32com/client/ init.py", I modified line 312 from:
Environment: Windows 11, Python v3.10 virtual environment in PyCharm, and pywin32 v304.
Problem: I was trying to dispatch a COM object with Events. Even after manually running the makepy process and creating the gencache of the COM object, it was still requesting I run the makepy process manually.
Solution: In /win32com/client/ init.py", I modified line 312 from:
to: