在线等。
解决方案 »
- 动态批量生成的Form如何单独设置Caption属性?
- TFloatField 等等组件是从那里添加的??
- 我写的程序启动的时候怎么加附带的参数
- 谁有详细的delphi控件说明?
- 模态打开窗口问题
- 大家来讨论,时下用什么数据库和什么与之相配的连接方式比较好(挣钱多)?
- TFrame in a dll -- "Cannot assign TFont to a TFont"
- 程序执行后关掉所有正在执行的其他程序,然后自己重启?
- 如何备份一个文件夹中的所有文件,一个一个的备份太麻烦了!!
- 模拟按键
- 急!!!怎样能用table控件通过数据库链来访问oracle数据库?
- 天太热了,脱去所有裤衩凉块一下了:)
Active =false,都不行,异常有:Socket Error #10038 等我现在用原来的ServerSocket重做,没有任何问题.
idtcpclient1.disconnected;
服务器端再
IdTCPServer1.Active := false;
IdTCPServer1.Bindings.Clear;
to 2312(╰@oo恒星★)
怎么重新做呢,代码还是要哪些代码,因为要完成那些工作。
原文如下:
Why do I get 10038 exceptions raised when I shut down my servers?
This exception is normal and will be handled by Indy. Resume program execution by hitting F9 and Indy will catch the exception. In addition, this will only happen in the Delphi / C++ Builder IDE (and only if you have stop on exception turned on) and not a stand alone executable. NOTE: Code has been changed so that this appears less often than before, but it still can occur and is normal .
procedure TForm1.FormCreate(Sender: TObject);
begin
Application.OnException := ExceptEvent;
end;procedure TfrmAD_Main.ExceptEvent(Sender: TObject; E: Exception);
begin
end;这样就不会出现错误对话框了,不过你最好自己处理“E: Exception”
http://www.indyproject.org/