当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Running applications from Delph
 

 

 ·比 fastpos 还要快 pos 函数    »显示摘要«
    摘要: 相信字符串处理中用的最多的就是 pos 函数了。但是如果要搜索一个字符串中第二次或者第三次出现的子字符串的,就没有现成的 delphi 标准函数了。所以我就自己写了一个。同时和网上比较流行的 faststrings.smartpos() 和 jvcl.npos() 做了比较,速度更快,而且兼容 unicode(widestring/widechar)。注:代码可能有人会觉得不太舒服,但作为最常用......
 ·自定义dataset,并写入数据    »显示摘要«
    摘要: 新建一 dataset , 并加入数据 : preparetablefunction tfrm_print.createtableinmemory(const afielddefs:tfielddefs):tdataset;var temptable:tclientdataset;begin temptable:=nil; result:=nil; if afielddefs<>ni......


Running applications from DelphiTM: Using ShellExecute (Part 1) {转贴}

running applications from delphitm: using shellexecute (part 1)

【程序编程相关:QQ聊天记录器演示程序(一)

level: newbie-hacker 【推荐阅读:QQ聊天记录器演示程序(二)

【扩展信息:Delphi单元文件详解

author: the baker

date: 2002-04-19

 

running or opening external programs or files, from delphitm applications, is often a necessary requirement. this article covers the shellexecute windows api function, revealing techniques for running external applications from your delphi applications.

running applications from delphi

there are a number of reasons why you might be interested in running external applications from your delphi application. often programs are segmented into a number of logical divisions to represent different components of a larger system. some sub-system components might include:

main application

setup/installer application

system application (specifying system wide options)

application server application


...   下一页
 ·ini文件的读写    »显示摘要«
    摘要: function readinifile(filename,section,ident:string):string;? //读取配置文件var? ini:tinifile;begin? ini:=tinifile.create(filename);? result:=ini.readstring(section,ident,);? ini.free;end; procedure writei......
» 本期热门文章:

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