在delphi里面,什么函数可以运行外部的可执行函数?就像c里的shell? (10分)

  • 主题发起人 seraphcj
  • 开始时间
S

seraphcj

Unregistered / Unconfirmed
GUEST, unregistred user!
在delphi里面,什么函数可以运行外部的可执行函数?就像c里的shell?
 
uses ShellAPI;
begin
...
ShellExecute(Application.handle, 'Open', 'Notepad.exe', '', '', sw_Normal);

...

end;
 
winexec,
shellexecute,sheelexecuteex,前面要加uses shellapi,
 
顶部