Api用Winexec,但功能不强!
shellexecute是功能强大!说明如下:
这都是Api函数!
HINSTANCE ShellExecute(
HWND hwnd, // handle to parent window
LPCTSTR lpOperation, // pointer to string that specifies operation to perform
LPCTSTR lpFile, // pointer to filename or folder name string
LPCTSTR lpParameters, // pointer to string that specifies executable-file parameters
LPCTSTR lpDirectory, // pointer to string that specifies default directory
INT nShowCmd // whether file is shown when opened
);
1 u could use winexec or shellexecute
2 uses the following file:
<delphi directory>/demo/doc/file...fmxutils.pas
i foget the current file path but i think u will find it or u could
use the file from d3 because it has source
good luck