Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Aug : How to quit an application after it hast started another one (ShellExecute/CP do

www.cryer.info
Managed Newsgroup Archive

How to quit an application after it hast started another one (ShellExecute/CP do

Subject:How to quit an application after it hast started another one (ShellExecute/CP do
Posted by:"Rolf Frei" (nospam-rolf@nospam-eicom.ch)
Date:Tue, 28 Aug 2007 20:01:50

I'm trying to start an application from inside of my application, but I have
the problem, that my application doesn't exit until the new startet
application is exited too.

I want to quit my applicaiton after the start of the new application, as it
is a setup which should overwrite my current runing application executable.

I have tryed with ShellExecute and CreateProcess but both of them don't
return to my application flow until the startet application does quit. Any
ideas how I can start an aplication and quit my current application after
that, so the new application can overwrite my current executable with a new
one?

Replies:

www.cryer.info
Managed Newsgroup Archive