Is it possible to manually call the program restart the same as your monitoring of the main thread to restart ?
I haven't found if that function is available or not in the help so far.
Is it also possible to use any email functions ?
Just curious, will look at help as well some more.
Locked thread restart and mail
Re: Locked thread restart and mail
I'm not 100% sure what you mean. Is this API (exported by madExcept.pas) what you're looking for?
Code: Select all
procedure RestartApplication (const newCommandLine: UnicodeString = ''; violentTerminate: boolean = true);
Re: Locked thread restart and mail
Yes will give that a try, are there any docs on these API's ?
The other one is there an API exported for sending mail ?
Just thinking in terms of general email using smtp, any docs about the functions etc
The other one is there an API exported for sending mail ?
Just thinking in terms of general email using smtp, any docs about the functions etc