On Thu, 3 Apr 2008, Luca Olivetti wrote:
> While I was trying to debug an unrelated problem with a service (written with > daemonapp/lazdaemon), debugging that consisted in constantly rebooting the > system to see the behaviour of my service at system startup, suddenly the > service wasn't starting anymore, and, as always, windows tools to see where > the problem is were less than useless. > > After a painful and long session of trial and error, I discovered that for > whatever reason the system logger wasn't working (hey, this is windows after > all), so trying to use the logger was hanging the program. > Clearing the log solved the problem (this time), but I'm wondering if > daemonapp shouldn't try to catch (and ignore?) the possible exceptions thrown > by TEventLog. This is a known problem, which is on my todo list since a couple of years. I wanted to add a property 'IgnoreErrors' to TEventLog. Can you enter a bug report about it in mantis? You can assign it to me, if you want. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal