program termination

  • Thread starter Thread starter Jesper
  • Start date Start date
J

Jesper

Within a catch statement I would like to terminate the
program (which is single threaded). How is this done.

best regards
Jesper.
 
Application.Exit();

From the SDK:
"Informs all message pumps that they must terminate, and then closes all
application windows after the messages have been processed."

-mike
 

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