一个简单的delphi问题??

来源:百度知道 编辑:UC知道 时间:2024/04/29 15:07:12
哪位大哥给我一个用delphi编的闪现窗口源程序,谢谢啦!!!

在delphi 中执行一个程序,可以使用函数WinExec。
UINT WinExec(
LPCSTR lpCmdLine, // address of command line
UINT uCmdShow // window style for new application
);
例如要执行ACDSee看图程序,代码如下:
WinExec(Pchar('C:\Program Files\ACDSee\ACDSee32.exe'),sw_ShowNormal);
当然,不止一个函数可执行外部程序。