Hello,
madExcept design time setting is not to restart application in any way.
There is this specific exception which only resolve if application is restarted.
Is it possible to programmatically make madExcept to restart the application using MadExceptExceptionHandle if this specific exception occurs?
Bug report should still be send. This will be a temporary workaround not to block users until actual problem is fixed.
Thanks & Regards,
Ertan
Restart application under certain condition
Re: Restart application under certain condition
Sure, you can do that. For example, you could use RegisterExceptActionHandler() to be notified about when bug report sending has completed, and then check the "exceptIntf" interface if the exception is the one you want to restart your application for.
http://help.madshi.net/madExceptUnit.ht ... ionHandler
And then you can call "exceptIntf.RestartApplication".
http://help.madshi.net/madExceptUnit.ht ... ionHandler
And then you can call "exceptIntf.RestartApplication".
Re: Restart application under certain condition
I couldn't be sure.
Which TExceptAction should I use for checking completion of sending automated background email?
Which TExceptAction should I use for checking completion of sending automated background email?
Re: Restart application under certain condition
eaSendBugReport3