DELPHI XE7 的新功能列表里面增加了并行库System.Threading, System.SyncObjs。 为什么要增加新的并行库? 还是为了跨平台。以前要并行编程只能从TThread类继承进行多线程处理,大家知道TThread类是从WINDOWS的线程API封装起来的,它封装的是WIN Read More
posted @ 2016-03-02 23:19
findumars
Views(451)
Comments(0)
Diggs(0)
DELPHI7在WIN8下安装后可以打开运行,但发现设置断点DEBUG运行DLL工程时会卡死(IDE长时间无反应,不报错)。 DELPHI7在WIN10下安装后打开的时候会报错,无法运行。 以上两种情况的解决办法: 设置DELPHI32.EXE以WINDOWS XP SP2的兼容模式下运行后一切正常 Read More
posted @ 2016-03-02 23:18
findumars
Views(12780)
Comments(0)
Diggs(1)
string,DELPHI2009以前的版本string=ansistring,一个字符占一个字节,DELPHI2009及以上版本string=unicodestring,一个字符占二个字节。 char,DELPHI2009以前的版本char=ansichar,一个字节,DELPHI2009及以上版 Read More
posted @ 2016-03-02 23:17
findumars
Views(518)
Comments(0)
Diggs(0)
IdHttpServer实现webservice 朋友有个项目,通信协议使用HTTP,数据序列使用BIN(二进制)。他不知道要选用何种技术方案。 REST webservice是http+json,SOAP webservice是http+xml,好像都不适合。 于是想到了使用INDY的TidHtt Read More
posted @ 2016-03-02 23:13
findumars
Views(1583)
Comments(0)
Diggs(0)
Delphi代码 unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class( Read More
posted @ 2016-03-02 22:19
findumars
Views(457)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号