2014-05-14 15:14 GMT-03:00 Michael Van Canneyt <mich...@freepascal.org>: > > On Tue, 13 May 2014, silvioprog wrote: > >> Hello, >> I'm trying to set a own instance in EventLog property of all apps >> like TCustomHttpApplication, TCustomCGIApplication >> and TCustomFCGIApplication, but, no success. >> >> To get the error, try: >> > > I have done this differently. The eventlog instance is owned by the > application, so it should not be directly settable. > > I created a protected virtual method CreateEventLog that must return a > configured TEventLog descendent instance. > You can override this method and return whatever you want, as long as it > descends from TEventLog. > > Revision 27790. > > Michael.
Thanks a lot guy! (y) -- Silvio Clécio My public projects - github.com/silvioprog
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal