Indy + ADO

Giganews Newsgroups
Subject: Indy + ADO
Posted by:  anomalous (…@thanks)
Date: Fri, 27 Jun 2003

Hi all.  A Question -

What is the correct way to use ADO to retrieve database info in the context
of a threaded Indy TCP Server?  Being very new to Indy, my understanding is
that the TCP Server creates a new thread to handle each connection - so if I
wanted to use ADO to serve data, there will probably be extra measures that
need to be taken (such as calling CoInitialise/Uninitialise) in the
TCPServerExecute method.  is this correct?

if someone has a demo using ADO and an Indy TCP Server, I'd love to see it.

thanks,

Ben

Replies