[python-win32] How to get events from COM object?

2019-11-11 Thread NIcola Montecchiari
Dear all, I use a COM object and access normally its exposed properties and methods. The object itself may generate events, but I can't find anywhere the way to catch them in python. I googled around and I saw very complicated examples which made me more confused then confident. Is there any good

[python-win32] Using COM Event. A problem

2017-12-06 Thread NIcola Montecchiari
Dear All, I am trying to create a call back for som events generated by a COM server that I connect. Looking at some posts apparently related to the same topic, I wrote this sample code to test: import win32com.client as com from win32com.client import gencache class Eventi: def Device_Notif