ADO线程不安全,UniDAC 在使用MSSQL也是如此。其实这是微软COM问题,不怪Devart公司。 一般解决方法是在线程开始启用 CoInitialize(nil),线程结束调用 CoUninitialize 。如果你使用多种数据库连接,比如三层中经常切换到MSSQL和Oracle,我们只需在 Read More
posted @ 2018-01-05 22:39 findumars Views(1364) Comments(0) Diggs(0)
[delphi] view plain copy [delphi] view plain copy 在 Windows 上建立一个线程, 离不开 CreateThread 函数; TThread.Create 就是先调用了 BeginThread (Delphi 自定义的), BeginThread Read More
posted @ 2018-01-05 22:37 findumars Views(649) Comments(0) Diggs(0)
由于项目需要。需要向一个地址提交数据。提交的次数很频繁,但是程序经常raised exception class EIdSocketError with message 'Socket Error # 10054Connection reset by peer.' 造成程序异常,停止工作。 于是找到 Read More
posted @ 2018-01-05 22:35 findumars Views(1106) Comments(0) Diggs(0)
现在网络的流行,使得服务器程序得到了广泛的应用,那么我们使用Delphi如何设计出强壮的服务器呢? 有人说,如果要设计服务器的话,一定要使用VC来设计,其实这个人说的有一定道理,因为如果你要使用Delphi来设计服务器的话,要想设计高效的服务器就不要使用Delphi带来的大部分的控件(最好不要使用D Read More
posted @ 2018-01-05 22:34 findumars Views(2261) Comments(0) Diggs(0)
转帖自:http://www.tommstudio.com/ViewNews.aspx?ID=187http://hi.baidu.com/rarnu/blog/本文翻译自《美国优秀经理观念大全修订本》我想现在没有什么比做一个软件工程师更能赚钱的了,当然了,明星除外。在美国,一个优秀的软件工程师,就 Read More
posted @ 2018-01-05 22:22 findumars Views(1411) Comments(0) Diggs(0)