Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Intercept
| Subject: | Intercept |
| Posted by: | "Massimo Bolzoni" (massimo.bolzo..@mandelli.com) |
| Date: | Tue, 6 Jun 2006 12:18:30 |
Hi all,
I'm using TIdTCPServer in Delphi 2005 Ent.
I need a log of the strings that comes;
is it correct to use a TIdServerInterceptLogEvent component,
linked in the Intercept property of the TIdTCPServer?
I tried it; in the OnLogString I write the text in a listbox (and see it)
but at once an Access Violation appears!
What's wrong?
In the Execute procedure of the TIdTCPServer must I do
something other thing about TIdServerInterceptLogEvent?
Is TIdServerInterceptLogEvent.OnLogString thread safe?
Thank you very much, Massimo.