Roger,

Thanks for your tip !
I tried that but it's still not reporting the events.
Maybe this activex does rely or force one to have a gui. Do you know a 
workaround for this kind of cases ? Is there a way to print if this is the case 
? Or to see what is going on ?

Thank you,

> To: [email protected]
> From: [email protected]
> Date: Mon, 31 Jan 2011 00:30:32 -0500
> Subject: Re: [python-win32] attaching an event handler to     alreadycreated  
> object
> 
> Try replacing
> 
> self.m__signpad = TopazSigPlus.SigPlus()
> 
> with
> 
> self.m__signpad = win32com.client.DispatchWithEvents(TopazSigPlus.SigPlus(), 
> MyEvents)
> 
>       Roger
> 
> Patricio Eduardo Stegmann wrote:
> > Hi Roger,
> >
> > could you please be a bit more specific ?
> >
> >
> > ----- Original message -----
> >> You can pass an existing IDispatch object to DispatchWithEvents
> >> as the first arg in place of a clsid.
> >>
> >>   Roger
> >>
> >>
> >>
> >> _______________________________________________
> >> python-win32 mailing list
> >> [email protected]
> >> http://mail.python.org/mailman/listinfo/python-win32
> >>
> >
> > _______________________________________________
> > python-win32 mailing list
> > [email protected]
> > http://mail.python.org/mailman/listinfo/python-win32
> > 
> 
> 
> 
> _______________________________________________
> python-win32 mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/python-win32
                                          
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to