c++ - QT based Win7 app can't cope with the death of an I/O device -


i'm writing qt based native c++ app uses qtserialport library under win7. communicates periodically(say every 5seconds).
problem is: device app connects via serial port, has power loss issues(can't change this). when happens app becomes hung , immortal: can't killed windows task manager or process hacker(a nice replacement windows task manager)' termination facilities. soft restart best solution @ hand.

now how can app cope such device situation?

i submit question qt's interest mailing list (interest@qt-project.org). since qtserialport library new, bugs can appear when wide user base starts using it. there chance developers wrote library can give better solution or find bug in code , fix it.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -