Hi, I tried the following: >>> from win32com.client import DispatchWithEvents >>> class BackupEvent: ... def OnPercentComplete(self, sMessage, nPercent): ... print sMessage, nPercent >>> oSqlBackup = DispatchWithEvents('SQLDMO.Backup', BackupEvent) Traceback (most recent call last): raise ValueError, "This COM object does not support events." ValueError: This COM object does not support events. SQLDMO.Backup is a COM object with EVENT, why the error "does not support events"? I tried the demo of DispatchWithEvents using IExplorer and it's working, so I think the installation is correct. Is there anyone facing the same problem? Thanks, Chandra
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4