Locked thread restart and mail

delphi package - automated exception handling

Locked thread restart and mail

Postby bwilt » Fri Nov 30, 2018 2:07 am

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.
bwilt
 
Posts: 12
Joined: Tue Oct 22, 2013 10:14 pm

Re: Locked thread restart and mail

Postby madshi » Fri Nov 30, 2018 9:23 am

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);
madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm

Re: Locked thread restart and mail

Postby bwilt » Fri Nov 30, 2018 8:45 pm

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
bwilt
 
Posts: 12
Joined: Tue Oct 22, 2013 10:14 pm

Re: Locked thread restart and mail

Postby madshi » Sat Dec 01, 2018 9:47 am

madshi
Site Admin
 
Posts: 9880
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 5 guests