When I tried accessing a COM server using win32com.Dispatch() , only the first command sent to the COM server would work after dispatching it, then all susequent calles to the Execute() method would cause an excetpion.
Then I read something about EnsureDispatch(), which seems to work 100% better. It always works for me. Now I want to try to setup a callback in my code, so I want to try win32com.client.DispatchWithEvents() What I would like to know is- is DispatchWithEvents() like the unreliable Dispatch(), or is it more like using EnsureDispatch() + event handling ? Does anyone have some example sof using win32com.client.DispatchWithEvents() ? thanks _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32