Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Sep : Best practice for OnConnect?

www.cryer.info
Managed Newsgroup Archive

Best practice for OnConnect?

Subject:Best practice for OnConnect?
Posted by:"Roberto Meneghini" (rmeneghi..@separationsystems.com)
Date:Thu, 28 Sep 2006 08:07:12

Hello,
I'm writing a server application using INDY10's TIdTCPServer. The
application is a VCL.NET form.
Every time that a client connects I would like to add an item in a TListView
component. The help for the TIdTCPServer highly discourages the use of
consuming task (access to VCL components) inside this event. Is adding an
item to the TListView considered a consuming task? If so, what would be a
good approarch to handle this case?

Thanks,

Roberto

Replies:

www.cryer.info
Managed Newsgroup Archive