Procedure TForm1. FormCloseQuery (Sender: TObject; Var CanClose: Boolean);
The begin
Try
ComPort1. Close;
Except,
end;
end;
Excuse me, in addition to the change control, is there a way to eliminate this error message?
CodePudding user response:
Should be connected to Comport abnormal after removing equipment will have this problem, one of my project is also like thisHad to restart the program to return to normal
CodePudding user response:
Seems to have only change control, tried SPCOMM did not appear this kind of phenomenon,