Dears,

I have a problem with firing Events and event handling on COM object.

This code works on python console but there is no event fired.

>>> class fmstrEvents(object):
    ...     def OnRecorderDone(self):
    ...         print "Hello OnRecroderDone"

>>> import win32com.client
>>> fm = win32com.client.Dispatch("MCB.PCM")
>>> fm_events = win32com.client.WithEvents(fm,fmstrEvents)

The application fmstr with COM Object "MCB.PCM" is freezing by events
handling within python by pywin32.

Do I miss something in code or incorrectly handling the events or COM
Object?

Thank you very much.
Peter
_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to