Delphi 7.0 调用外部exe文件的例子源代码.rar

上传者: 39841856 | 上传时间: 2023-11-07 22:58:14 | 文件大小: 8KB | 文件类型: RAR
Delphi 7.0 调用外部exe文件的例子源代码,通过程序窗口,你可浏览到windows中任意的EXE可执行文件,本程序将调用它并打开它,在Delphi程序中打开外部的EXE程序,相关代码片断先看看:
  begin
   dirchar:='';
   if trim(FileLIst.FileName) <> '' then
   begin
   FileAttrs := faAnyFile;
   strcat(dirchar,pchar(FileList.FileName));
   if findfirst(dirchar,FileAttrs,sr)=0 then
   //执行可执行文件
   shellexecute(application.Handle,nil,dirchar,nil,nil,sw_shownormal)
   else
   showmessage('该文件不存在!');
   end;
  end;
  完整的源码请点击下载按钮下载源码。

文件下载

资源详情

[{"title":"( 8 个子文件 8KB ) Delphi 7.0 调用外部exe文件的例子源代码.rar","children":[{"title":"srcfans.com","children":[{"title":"调用外部的exe文件","children":[{"title":"TransFer.cfg <span style='color:#111;'> 420B </span>","children":null,"spread":false},{"title":"TransFer.res <span style='color:#111;'> 876B </span>","children":null,"spread":false},{"title":"TransFer.dof <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false},{"title":"frm_Openexe.dfm <span style='color:#111;'> 6.45KB </span>","children":null,"spread":false},{"title":"frm_Openexe.ddp <span style='color:#111;'> 51B </span>","children":null,"spread":false},{"title":"TransFer.dpr <span style='color:#111;'> 215B </span>","children":null,"spread":false},{"title":"frm_Openexe.pas <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"frm_Openexe.dcu <span style='color:#111;'> 5.32KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明