Event handling for COM object with win32com (pywin32)

peter.balazovic at emspin.com peter.balazovic at emspin.com
Sun Jun 22 07:55:45 EDT 2014


On Sunday, June 22, 2014 12:09:51 PM UTC+2, Chris Angelico wrote:
> On Sun, Jun 22, 2014 at 7:15 PM,  <peter.balazovic at emspin.com> wrote:
> 
> > This code works on python console but there is no event fired.
> 
> >
> 
> >>>> class fmstrEvents(object):
> 
> >     ...     def OnRecroderDone(self):
> 
> >     ...         print "Hello OnRecroderDone"
> 
> 
> 
> Is that supposed to say "OnRecroderDone" or "OnRecorderDone"? I can't
> 
> find any Google hits for the former, other than this exact question
> 
> (which you seem to have also posted to StackOverflow - I'm counting
> 
> that as the same), and the latter would be a much more obvious
> 
> spelling.
> 
> 
> 
> ChrisA

You right, this is a typo here - I am sorry for this but event handler does not work... fmstr application is freezing and event handler does not work. I need to restart python to unfreeze my application.
Peter 



More information about the Python-list mailing list