Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2006 Nov : Close external exe

www.cryer.info
Managed Newsgroup Archive

Close external exe

Subject:Close external exe
Posted by:"Josko" (josko..@gmail.com)
Date:Tue, 7 Nov 2006 11:30:01

Hi,

when I start my application on the MainFormCreate event I start another exe
with
ShellExecute(Handle, 'open', 'Server.exe', nil, nil, SW_SHOWNORMAL);

What I would like is when I close/exit my application that I also close/exit
the 'Server.exe'?

How to do this?
Help appreciated.

Josko

Replies:

www.cryer.info
Managed Newsgroup Archive