Re: [python-win32] thread not posting events woes

2009-09-14 Thread Tim Roberts
Mike Driscoll wrote: > Tim Roberts wrote: >> Jeff Peery wrote: >> >>> I'm having trouble catching events from my multi threaded app. I'm >>> using wxpython and running several threads under the main wxApp >>> thread. One of the threads creates a COM object for an OPC server. >>> I'm using dispatc

Re: [python-win32] thread not posting events woes

2009-09-14 Thread Mike Driscoll
Tim Roberts wrote: Jeff Peery wrote: Hello, I'm having trouble catching events from my multi threaded app. I'm using wxpython and running several threads under the main wxApp thread. One of the threads creates a COM object for an OPC server. I'm using dispatchWithEvents() to get the COM obje

Re: [python-win32] thread not posting events woes

2009-09-10 Thread Tim Roberts
Jeff Peery wrote: > Hello, > I'm having trouble catching events from my multi threaded app. I'm > using wxpython and running several threads under the main wxApp > thread. One of the threads creates a COM object for an OPC server. > I'm using dispatchWithEvents() to get the COM object. When I do t

Re: [python-win32] thread not posting events woes

2009-09-10 Thread Mark Hammond
Your thread probably needs to be running an event loop - I'm not sure how this is usually spelt in wx, but the 'usual' pythoncom.PumpMessages or similar might be enough. Cheers, Mark On 10/09/2009 1:15 PM, Jeff Peery wrote: Hello, I'm having trouble catching events from my multi threaded app