当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: ShellExecute Function
 

 

 ·拖拉打开文件    »显示摘要«
    摘要: procedure dragdropfiles(var message: tmessage); message wm_dropfiles; procedure tfm_main.dragdropfiles(var message: tmessage);var p: array[0..254] of char; i: word;begin inherited; i := dragqueryfil......
    摘要: running applications from delphitm: using shellexecute (part 1)level: newbie-hackerauthor: the bakerdate: 2002-04-19 running or opening external programs or files, from delphitm applications, is......


ShellExecute Function (ZT)

shellexecute function


 ·比 fastpos 还要快 pos 函数    »显示摘要«
    摘要: 相信字符串处理中用的最多的就是 pos 函数了。但是如果要搜索一个字符串中第二次或者第三次出现的子字符串的,就没有现成的 delphi 标准函数了。所以我就自己写了一个。同时和网上比较流行的 faststrings.smartpos() 和 jvcl.npos() 做了比较,速度更快,而且兼容 unicode(widestring/widechar)。注:代码可能有人会觉得不太舒服,但作为最常用......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE