上一页 1 ··· 8 9 10 11 12
摘要: 记得2000年的时候,快大学毕业了就听说有组态软件,我很早就上网了,而且以前比较喜欢上21ic也不知现在还在不在(待会去看看),到处可以看到广告,这组态那组态一片蓬勃的景象,在我印象上就形成了与PLC有关、工业上用的一种神奇的工具,也许是配置用的,也许是……,反正就是很高深的! 有好多朋友说“没有多 阅读全文
posted @ 2012-02-10 23:42 海利鸟 阅读(1323) 评论(2) 推荐(0)
摘要: function isFileInUse(aName: string): boolean; var hfileres: hfile; begin result := false; if not FileExists(aName) then exit; hfileres := createfile(p 阅读全文
posted @ 2012-02-05 22:47 海利鸟 阅读(437) 评论(0) 推荐(0)
摘要: function isruninvmware(out errmsg: string): boolean; begin result := false; try asm push edx push ecx push ebx mov eax, 'vmxh' mov ecx, $0a mov edx, ' 阅读全文
posted @ 2012-02-05 22:23 海利鸟 阅读(629) 评论(0) 推荐(0)
摘要: 这个是“橙子”2008年总结的删除目录的办法: 以往删除目录时,都需要先用递归删干净目录下的文件和子文件夹,这样做的时候,如果文件数量大,那么删除会非常慢于是找了个方便一点的方法,直接使用api将目录删除 代码如下: function deldirectory(const source: strin 阅读全文
posted @ 2012-02-05 21:18 海利鸟 阅读(696) 评论(1) 推荐(0)
摘要: 好像是 Delphi 2005 开始 Delphi 就开始支持一个新的功能 For … in … 这个在其他语言中早就有但很方便的功能,(其实真的感觉好用是后来到C#中使用才体会到它的方便)。 for … in … 语句用于遍历一个集合,由于不能像类C语言可以就地声明变量,每次用循环就有一点别扭(不 阅读全文
posted @ 2012-02-05 20:53 海利鸟 阅读(896) 评论(0) 推荐(0)
摘要: 好久没有登录了帐号都失效了,趁新年开放重新注册! http://www.55188.com/index.php 理想在线 http://www.oceantribe.org/vb/index.php 海洋部落 www.hylt.net 阅读全文
posted @ 2012-02-04 15:12 海利鸟 阅读(234) 评论(0) 推荐(0)
摘要: 没有使用样式原始Delphi 片段效果 program Project1; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; begin try { TODO -oUser -cConsole Main : Insert code here } 阅读全文
posted @ 2012-02-01 18:38 海利鸟 阅读(199) 评论(0) 推荐(0)
摘要: 没有使用样式原始Delphi 片段效果 program Project1; {$APPTYPE CONSOLE} {$R *.res} uses System.SysUtils; begin try { TODO -oUser -cConsole Main : Insert code here } 阅读全文
posted @ 2012-01-20 10:21 海利鸟 阅读(222) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12