exceptions in TServiceThread.Excute

delphi package - automated exception handling
Post Reply
markh
Posts: 4
Joined: Mon Feb 21, 2005 3:51 pm

exceptions in TServiceThread.Excute

Post by markh »

Hello,

When I have an exception in the TServiceThread.execute in a windows service application madExcept does not catch the exception. Is this behaviour correct?

It would be nice if works automatically but for now I will use
try {
blabla
} catch(...) {
HandleException();
throw;
}

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

Re: exceptions in TServiceThread.Excute

Post by madshi »

I'll have to check that. Your workaround should work quite fine, though.
Post Reply