I have created an TCPip server application. The application has one global TADOConnection. This global ado connection is used both for main thread queries and also within threaded processes.
Is this ok? Does the ADOConnection have built in mechanisms to handle multiple queries at the same time?
My application works find in testing environments (2-5 connections). But deployed in a production environment I am getting "unexplainable" access violations at the point the TADOQuery linked to the ADOConnection are set to opened.
Should I be using ADOConnection or should all queries just make the connection to the database on their own (which is probably a bit more resource costly)?