2016年6月12日

Delphi字符串加密解密算法

摘要: unit Unit1; interface uses System.SysUtils; const DefaultKey = 'delphi'; //============================================================================== // 通过密钥加密解密 // 对字符串加密(Source:源 Key:密匙... 阅读全文

posted @ 2016-06-12 15:51 CookieDragon 阅读(738) 评论(0) 推荐(0) 编辑

2016年5月31日

搭建Windows NTP服务器

摘要: 【测试环境】Windows 7 旗舰版 With Sp1 STEP1:组策略: 计算机配置管理模板-Windows时间服务-时间提供程序-启用Windows NTP服务器(未配置->已启用) STEP2:注册表: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet 阅读全文

posted @ 2016-05-31 13:06 CookieDragon 阅读(675) 评论(0) 推荐(0) 编辑

Delphi生成EXE自动以管理员身份运行

摘要: 【测试环境】Windows 7 旗舰版 With Sp1,RAD 10 Seattle 1、文本文件:UAC.manifest 2、文本文件:UAC.rc 3、拷贝上述两个文件到RAD10目录下/bin(如Embarcadero\Studio\17.0\bin) 4、用brcc32编译这个.rc文件 阅读全文

posted @ 2016-05-31 12:41 CookieDragon 阅读(677) 评论(0) 推荐(0) 编辑

导航