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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top