On 29 Aug 2000, at 11:36, Michael Gillson wrote:
> Can you send a shutdown message to the program?
>
> Is there a way to kill a program via
> its handle???
>
> I execute a program from within
> delphi using the shellexecute
> and keep the file handle...
>
> later i would like to kill this
> same program by way of its handle???
>
Michael,
Use the WM_QUIT message
i.e. PostMessage(Handle,WM_QUIT,0,0);
where Handle is the handle of the app that you want to shut down.
Sandy Stewart
Compu-Quote Inc.