To detect a crash, I would use a separate process, because the crash may be sudden (like if the user killed it in the task manager because it hanged) and not involve any exception.
I don't know if having the main application create a watcher process could couse trouble, if the os automatically ends child processes. If this is the case you would need to create a starter application and start your app from it. -- Felipe Monteiro de Carvalho _______________________________________________ Lazarus mailing list [email protected] http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
