2013年4月28日

摘要: //remove duplicate strings from the string list procedure RemoveDuplicates(const stringList : TStringList) ; var buffer: TStringList; cnt: Integer; begin stringList.Sort; buffer := TStringList.Create; try buffer.Sorted := True; buffer.Duplicates := dupIgnore; //这个表示的是重复荐删除。 ... 阅读全文

posted @ 2013-04-28 23:31 勒布朗.詹姆斯 阅读(211) 评论(0) 推荐(0)


2013年2月23日

摘要: 下面这个是dll输出的一个过程,这个过程是把dll中的窗体加载到procedure Led_Config(AHandle:THandle; parentHandle:THandle);stdcall;参数说明: AHandle : 主程序主窗体的句柄parentHandle :父容器的句柄 -- panel的句柄以下就是这个方法的实现:procedure Led_Config(AHandle:THandle; parentHandle:THandle);stdcall;var R : TRect;begin Application.Handle:= AHandle; if As... 阅读全文

posted @ 2013-02-23 15:50 勒布朗.詹姆斯 阅读(950) 评论(0) 推荐(0)


2013年1月19日

摘要: 有一段XML文档:<?xml version="1.0" encoding="GB2312" ?><xml><Patient><检查标识 fieldtype="1" paramtype="1">12107054279090856</检查标识><病人标识 fieldtype="1" paramtype="1">12107047558849352</病人标识><病人ID fieldtype= 阅读全文

posted @ 2013-01-19 17:53 勒布朗.詹姆斯 阅读(247) 评论(0) 推荐(0)


博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3