RtcHttpClient1在程序关闭时没有断开会出现上述的Runtime error 216的问题

解决方法在主窗口中的OnClose中执行客户端断开

procedure TFormMain.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  if RtcHttpClient1.isConnected then
    RtcHttpClient1.Disconnect;
end;
posted on 2010-12-19 10:30  fyen  阅读(499)  评论(0编辑  收藏  举报