Application Exit

  • Thread starter Thread starter carmen
  • Start date Start date
C

carmen

I need to launch application-2 from application-1 and close application-1.
My code is

CreateProcess ("app2",0,0,0,0,0,0,0,0,0);
Application.Exit();

but application-1 is not terminate since I see its name in the "Start" line.
Any ideas? Thank you.
 
Make sure you have no other threads running. Close your main form, then
exit.

-Chris
 
Back
Top