You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on anoth
8000
er tab or window. Reload to refresh your session.Dismiss alert
procedureTmnCommThread.Execute;
begintrywhilenot Terminated and FCommStream.Connected dobeginifnot UseWait or (FCommStream.WaitRead) then;
beginifnot Terminated and FCommStream.Connected then
StringArrived(FCommStream.ReadString(255)); {$Warning Why it is 255? }end;
end;
finallyend;
end;
Error is function FCommStream.ReadString(255),loss one parameter ,but stringArrived函数parameter type is string!
Activity
JonnyTech commentedon Mar 13, 2024
Compiler? Operating system? Versions? Full code please.