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 another tab or window. Reload to refresh your session.Dismiss alert
procedure _Log(const S: string); overload;
begin
if Assigned(_CrossLogger) then
_CrossLogger(S)
else
begin
{if IsConsole then
Writeln(S); // 報錯位置。
AppendLog(S);} // 報錯位置。
end;
end;
今天用單元測試,測試一個socket通信,使用的是控制臺應用。_Log 這裏開始報錯。
另外請教一個問題,
FSocket關閉的時候, 要先停掉什麽?我看示例Demo程序裏面,是
Delphi-Cross-Socket\Net\Demos\Old\TestCrossSocket
之前我一直是
但是今天測試的時候上面的代碼在 StopLoop 這裏報錯。
然後又改成了這樣,好像要好一些。
謝謝。
The text was updated successfully, but these errors were encountered: