Locked thread restart and mail

delphi package - automated exception handling
Post Reply
bwilt
Posts: 14
Joined: Tue Oct 22, 2013 10:14 pm

Locked thread restart and mail

Post 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.
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Locked thread restart and mail

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

Re: Locked thread restart and mail

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

Re: Locked thread restart and mail

Post by madshi »

Post Reply