Home > Back-end >  How to make the device access Windows scan driver play attachment in writing your own qt application
How to make the device access Windows scan driver play attachment in writing your own qt application

Time:11-24

Specific details: recent work demand, need to study the scanner twain protocol interface programming, but encountered a problem: the exotic in qt write application to start scanning through oneself, if there are any scanner card or other devices are abnormal events in Windows pop up an unusually prompt pop-up window on the desktop, tell you the specific exception error, but also stuck their qt applications, but are not always placed at the top in the qt application, this is very embarrassing,,,,,,,,
Solution a: through wiondows message mechanism to capture this information or event scanning anomalies play a window, and then send to change information in qt application object to the abnormal pop-up prompt operation,
Solution 2: through wiondows message mechanism to capture this information or event scanning anomalies play a window, and then with the qt application binding and placed at the top in the program,
Solution 3: through the scanner general twain protocol interface to control the scanner abnormal popup window, this method should be intuitive, but I hereby English reason, is not found in the twain protocol document in English corresponding solutions, and less about twain further programming example online, and didn't find the corresponding implementation example, hope to be able to go through the ideas of Daniel can prompt the corresponding operation guidance,
Come on you, the bosses to guangfa, published related views and solutions, and I'm here to say thank you enough,
  • Related