DELPHI如何调用外部的EXE程序 如题 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 ShellExecuteShellExecuteExWinExecCreateProcess一般用ShellExecute,比较简单方便。如启动计算器:ShellExecute(Handle, 'open', 'calc.exe', nil, nil, SW_SHOW); uses ShellAPI;ShellExecute(nil, 'open', 'calc.exe', nil, nil, SW_SHOW); uses ShellAPI;ShellExecute(application.handle, 'open', 'xxx.exe', nil, nil, SW_SHOWNORMAL);具体说明看msdn WinExec(Pchar('d:\aa.EXE'),SW_SHOWNORMAL); 1、WinExec2、use ShellApiShellExecute ShellExecute(Handle, 'open', 'calc.exe', nil, nil, SW_SHOW); ShellExecuteShellExecuteExWinExecCreateProcess一般用ShellExecute,比较简单方便。如启动计算器:ShellExecute(Handle, 'open', 'calc.exe', nil, nil, SW_SHOW); 客户端软件如何加入统计使用情况? 控制台程序如何连接oracle 关于goto 语句 delphi如何控制excel的单元格添加颜色,请帮忙 我用了一段关于建树的代码,可是老是会出现错误,有谁能帮我解释一下啊?? 用BDE和odbc方式连接的oracle,究竟如何才能实现数据的不自动提交。 请问双击该程序类型文件时,就调用该程序打开该文件,该程序是怎么样得到刚才文件的路径的 关闭窗体的问题? 有关于指针的问题! 30分指点迷津!如何设置我的程序成为网络版? 关于数据库控件使用的2个问题,一直没有解决... 这段代码如何设事务(高手请看看)
ShellExecuteEx
WinExec
CreateProcess一般用ShellExecute,比较简单方便。
如启动计算器:
ShellExecute(Handle, 'open', 'calc.exe', nil, nil, SW_SHOW);
具体说明看msdn
2、use ShellApi
ShellExecute
ShellExecuteEx
WinExec
CreateProcess一般用ShellExecute,比较简单方便。
如启动计算器:
ShellExecute(Handle, 'open', 'calc.exe', nil, nil, SW_SHOW);