Environment is the Delphi 7.0 xp system and embedded communication,
When I was in form destroy y already stopcomm,
Is what reason, for a long time,
CodePudding user response:
Error opening serial port,A serial port being used?
CodePudding user response:
Is to use spcomm open error, I use a serial port tool to open is no problem, what problem?CodePudding user response:
Check your code, don't you use the thread of what, an instance is not entirely before you exit (thread), a serial port is still being used,CodePudding user response:
3/f, look at the task manager after you exit the program, your program is still in the process list,