程序里调用EXE?????????????????????????????

解决方案 »

  1.   

    给你几个建议 我觉得更有价值
    1. 提问前 请先自己查找 检索是否有相类似的问题存在?? 那里一般会有一定程度的解决方案
    2. 提问时 请尽量描述清楚。http://community.csdn.net/Expert/topic/3225/3225366.xml?temp=.9430658
    上面的帖子里面说的很清楚了 而且有示例代码
      

  2.   

    使用windows的API函数呀!比如winexec()函数或 ShellExecute()函数就可以搞定!具体参数请查阅win32SDK这在delphi帮助里面有呀!
      

  3.   

    ftpFileName := GetCurrentDir() + '\*.exe';
      ShellExecute(handle, 'Open', pchar(ftpFileName), '', '', SW_SHOW);
      

  4.   

    if fileexists('*.exe') then
        ShellExecute(handle,'open','路径\*.exe',nil,nil,sw_shownormal)
      else
        application.MessageBox('打开出错!','错误',0);
    在USER中加ShellAPI.
      

  5.   

    uses winapi
    ShellExecute('Winword.exe');