1 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 2 1 2 1 2 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 参考:http://www.cnblogs.com/del/archive/200 Read More
posted @ 2018-01-05 23:05
findumars
Views(815)
Comments(0)
Diggs(0)
2010中的StringBuilder对象用的比较爽快!于是稍作了一些修改(增加了几个函数和属性)然后移植到D2007中来使用了!效果不错,共享一下! [delphi] view plain copy unit DxStringBuilder; interface uses RTLConsts,Cl Read More
posted @ 2018-01-05 22:45
findumars
Views(431)
Comments(0)
Diggs(0)
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)
最近做了一个数据采集服务器, 根据程序的框架,使用了大量的指针结构体(内存块) 操作。 例子: PArrayByte = ^TArrayByte; TArrayByte = packed record ABinding: Pointer; data: TBytes; len: integer; IP Read More
posted @ 2018-01-05 22:07
findumars
Views(1431)
Comments(0)
Diggs(0)
最近在写的程序与SOAP相关,所以用到了一些Base64编码/解码及数据压缩/解压方面的知识. 在这里来作一些总结: 一.Base64编码/解码 一般用到的是Delphi自带的单元EncdDecd,当然还有第三方提供的单元或控件,其中我所接触到的认为比较好的有Indy的TIdMimeEncode / Read More
posted @ 2018-01-05 22:02
findumars
Views(1808)
Comments(0)
Diggs(0)
以前在写个别程序的时候老是喜欢使用纯API编程。 在C++中无大问题,可是到了DELPHI中情况就不一样了。 当你用 DELPHI写的多线程程序莫名其妙的内存错误,特别是字符串(string)操作; 或者程序无故终止,又没有任何提示,你需要认真分析可能是你直接使用了CreateThread。 C++ Read More
posted @ 2018-01-05 22:01
findumars
Views(966)
Comments(0)
Diggs(0)
大家 都知道在 linux 通过源代码 安装程序 1. 下载源码 2.解压缩 3. 执行 ./configure 4. make 5 make install make 命令 是对 makefile 文件 操作,make install 是安装命令,那么 ./configure 是 干什么呢? ./ Read More
posted @ 2018-01-05 21:50
findumars
Views(9266)
Comments(0)
Diggs(0)
解决了困惑我已久的问题:动态库和静态库相互调用的问题。 转载自: http://blog.csdn.net/lien0906/article/details/54950152 静态库与动态库相互调用 测试场景,Test,lib1,lib2,dll1,dll2,分为下面四种情况:1、Test->lib Read More
posted @ 2018-01-05 21:48
findumars
Views(721)
Comments(0)
Diggs(0)
`` :反引号,获取执行命令的结果 打印日期: echo `date` --》 输出 2017年12月 8日 星期五 11时59分48秒 CST '' : 去掉 所有符号的特殊含义。 "" : 不去掉符号的特殊含义。 例如 n=3 echo '$n' --> 输出$n n=3 echo '$n' - Read More
posted @ 2018-01-05 21:47
findumars
Views(11021)
Comments(0)
Diggs(0)
在应用中发现静态数组和动态数组是有区别的: procedure TForm1.Button1Click(Sender: TObject);var RsltStream: TMemoryStream; picBuffer: TByteArray;begin RsltStream := TMemoryS Read More
posted @ 2018-01-05 21:11
findumars
Views(1863)
Comments(0)
Diggs(0)
以下代码仅仅是测试代码:delphi XE7 UP1 [delphi] view plain copy interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Read More
posted @ 2018-01-05 21:10
findumars
Views(1120)
Comments(0)
Diggs(0)
一、Delphi 2009 之前的字符串(不支持 Unicode): Delphi 2009 之前的字符串分为 3 种:ShortString、AnsiString、WideString。【ShortString】 ShortString 是一种比较古老的 Pascal 字符串格式,它最多只能容纳 Read More
posted @ 2018-01-05 21:06
findumars
Views(2095)
Comments(0)
Diggs(0)
马上能想到的函数有: 给字符指针(PChar、PWideChar、PAnsiChar)分配内存, 最佳选择是: StrAlloc.StrAlloc 虽然最终也是调用了 GetMem, 但 StrAlloc 会在指针前面添加 Delphi 需要的 4 个管理字节(记录长度).StrAlloc 分配的内 Read More
posted @ 2018-01-05 20:56
findumars
Views(2518)
Comments(0)
Diggs(0)
我们这里说的能力,是指快速解决问题的能力。 每个公司都需要能够快速解决问题的人,但很多人会觉得“快速解决问题”这种说法比较笼统。 所以,换个分步骤的说法,可能更好理解一点:所谓解决问题的能力,就是组合使用若干技能解决特定业务问题的能力。 比如,作为软件开发工程师,ta 的能力,就通过“使用开发工具、 Read More
posted @ 2018-01-05 19:30
findumars
Views(274)
Comments(0)
Diggs(0)
测评结果仅供参考,还需要做恰当的解读,此时你可能需要一些书: 《就业宝典》(解读 MBTI 最权威最经典的书) 《你的职业性格是什么》(解读 MBTI 16型人格) 《全脑优势》(赫曼的 HBDI 奠基之作) 《就业宝典》(解读 MBTI 最权威最经典的书) 《你的职业性格是什么》(解读 MBTI Read More
posted @ 2018-01-05 19:16
findumars
Views(184)
Comments(0)
Diggs(0)
本文章博客地址:http://blog.csdn.net/qq21497936/article/details/78615800 Qt实用技巧:使用QTableView、QSqlTableMode与QSqlDatabase对数据库数据进行操作 需求 编写应用软件的过程中,需要对保存的数据进行动态的设 Read More
posted @ 2018-01-05 17:45
findumars
Views(4178)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号