【发布时间】:2010-01-21 00:26:26
【问题描述】:
我正在使用 ShellExecute 运行外部应用程序 如何判断外部应用程序何时结束?
这是我的代码
theProgram := 'MySql.exe';
itsParameters := ' -u user1 -ppassword -e "create database abc"’;
rslt := ShellExecute(0, 'open',
pChar (theProgram),
pChar (itsParameters),
nil,
SW_SHOW);
【问题讨论】:
标签: windows delphi shellexecute