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
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
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
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
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 this the server will post