[Lazarus] How to restart application after crash

ik idokan at gmail.com
Fri Apr 11 14:03:06 CEST 2008


On *nix you can try the execv family. Some of them (I don't remember
by hart) open a new process without caring on the parent prosess.

On Windows try ShellExecute or something in that family.

Ido

On Fri, Apr 11, 2008 at 10:38 AM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> Hi,
>
>  I would like to create a custom 'exception handler dialog' for our
>  applications to hook into Application.OnException(). It must have some
>  options like saving a backtrace or copying the backtrace to the
>  clipboard (including some system information). I also want to include a
>  button to restart the application.
>
>  How to I do the latter part? Restart the application from within the
>  application?
>
>  Regards,
>    - Graeme -
>
>
>  _______________________________________________________
>  fpGUI - a cross-platform GUI toolkit using Free Pascal
>  http://opensoft.homeip.net/fpgui/
>
>
>  _______________________________________________
>  Lazarus mailing list
>  Lazarus at lazarus.freepascal.org
>  http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
http://ik.homelinux.org/



More information about the Lazarus mailing list