一,首先引入“mmsystem”单元。二,启动定时器: var MMTimerID: Integer; // 定时器ID MMTimerID := timeSetEvent(1000, 0, @TimerProc, 0, TIME_PERIODIC);三,定时器过程代码:procedure Tim... Read More
posted @ 2014-07-29 19:26 findumars Views(422) Comments(0) Diggs(0)
LockBox的安装LockBox是一套加密解密库,下载地址:http://sourceforge.net/projects/tplockbox/我的安装的操作系统:win7 64位安装步骤如下:一,安装:安装时候选择默认目录,在“BPL/DLL输出目录”时候,选择“c:\lockbox”,下一步中... Read More
posted @ 2014-07-29 18:41 findumars Views(524) Comments(0) Diggs(0)
字符串格式参数的日期比较函数我在NT Service里,使用delphi的CompareDate函数出错,我怀疑这个函数有bug,总是说我的参数多了'',所以没办法自己弄了一个![delphi]view plaincopy{//功能:比较日期//参数://a:比较的日期,格式(2013-07-23)... Read More
posted @ 2014-07-29 18:39 findumars Views(866) Comments(0) Diggs(0)