Skip to content

Why an App Might Disappear Without Notice

I was previously aware of two reasons that an application might simply disappear, without any notification to the user:

Raymond Chen adds another item to the list today:

Know of anything else? Add it in comments.

{ 6 } Comments

  1. Hallvard Vassbotn | February 15, 2008 at 6:51 am | Permalink

    If you use a C-based DLL that creates its own threads and there is an unhandled exception in one of those threads (including an exception in a calback back to your application),

  2. Aleksander Oven | February 15, 2008 at 2:22 pm | Permalink

    Unhandled exception in a secondary thread can quite effectively kill the whole process.

  3. Craig Stuntz | February 15, 2008 at 2:28 pm | Permalink

    Aleksander, you’re right, but in recent versions of Delphi exceptions are handled by default in TThread. So you either have to have an old version of Delphi or bypass TThread. But you’re correct that in either case it will have the effect of immediately killing the app.

  4. steve | February 15, 2008 at 5:42 pm | Permalink

    Application.terminate

    :)

  5. Ritsaert Hornstra | February 16, 2008 at 4:29 pm | Permalink

    Halt;

  6. Gary Smith | April 8, 2008 at 1:48 pm | Permalink

    I believe an unhandled exception in a DLL? I read something to that effect in the ObjectPascal Language Guide last night.

Post a Comment

Your email is never published nor shared. Required fields are marked *

Bad Behavior has blocked 1846 access attempts in the last 7 days.

Close