CodePudding user response:
Software in which the two customer point of the problem, is a real-time interactive communication with hardware, now stuck problem is very urgent,CodePudding user response:
Should be stuck on the communication of wait states, the solution, the most fundamental is to modify your business logic, simple way to put a in the Indy TIdAntiFreeze on your main formCodePudding user response:
Ok, I will try, thank you for your reply in the first place,CodePudding user response:
This is an old application, network and serial port communication way, the network control using the old tclientsocket before, although it also has the id controls, but just the create, only under special circumstances, so it should not be id control problems,CodePudding user response:
Two points are two kinds of communication, but all the problems,CodePudding user response:
Original run if it is normal that big relations with the environment, the program to run as an administrator or try the program compatibility mode is run?CodePudding user response:
Determine the communication card is dead can put the communication process to thread processingCodePudding user response:
Software running in administrator modeis there any way to detect other software what's wrong? I wrote in my software running, card after death can't save
CodePudding user response:
Personally think that communication is asynchronous, won't cause stuck, feel the shell call DLL, the DLL no response the message mechanism, |