Page 1 of 1

Locked thread restart and mail

Posted: Fri Nov 30, 2018 2:07 am
by bwilt
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.

Re: Locked thread restart and mail

Posted: Fri Nov 30, 2018 9:23 am
by madshi
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

Posted: Fri Nov 30, 2018 8:45 pm
by bwilt
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

Re: Locked thread restart and mail

Posted: Sat Dec 01, 2018 9:47 am
by madshi