Best way to solve dual call???

Arinté shouldbe at message.com
Mon Jul 31 15:33:42 EDT 2000


Review:
I have this app that allows python scripts to talk to devices thru a c++ app
and a dll.  At certain times the device may need to send a message to the
script like COVER_OPENED/COVER_CLOSED.  Currently, it is giving me a error
in the Thread State stuff.  It works ok if there is a call to the script and
while that call is being made then send the message.  Example I have a
messagebox in my dll that python scripts can pop up, while the script is
waiting for that messagebox to go away Messages from the device can safely
make it in.  I could tell the testers to popup a window whenever a message
may be expected, but that is not practical or possible.  Any hints on what I
could do?

I am using python 1.5.2 and these will mostly be windows machines for now.


thanx.





More information about the Python-list mailing list