It sounds like a contradiction: Why would you start you application and terminate it right away? Well, sometimes we can only “really” launch our main form if certain requirements are met.
- Does my configuration file exist?
- Can I connect to the database?
- Do other data files exist?