Hello,
I'm having trouble catching events when I use dispatchwithevents.
 
I have a wxapp that uses com and I catch OPCDataChangeEvents (OPC, OLE for 
process automation) from an opc server. things work quite well in this case, 
i.e., I am able to catch the data change events. 
 
The problem happened when I separated my logic from the wxGUI (I'm trying to 
keep my code clean and maintainable). So now I have a wxApp, within the wxApp 
is a thread that runs my logic, and within this thread I try to catch the 
OPCDataChangeEvents. In this case, it appears that the OPC thread is working 
properly, ie. if I test writeItem or readItem or connect or disconnect 
everything works well... until I try to catch the datachange events. I don't 
seem to catch them in this configuration. 
 
What might be happening here? Should this work? If so how do I fix this?
 
thanks,
Jeff
 


      
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to