Re: Problems with ADO and Multithreading: List Index Out Of Bounds



I tried to create (and destroy) TADOConnection in each separated thread, but
still Delphi raises the same exceptions!

"Dmitry Arefiev" <darefiev@xxxxxxxxxxx> ha scritto nel messaggio
news:44e9e4af@xxxxxxxxxxxxxxxxxxxxxxxxx
Hello Antonio

You should use single connection object per thread at time. And not share
it between threads.

Regards,
Dmitry

--
Dmitry Arefiev - www.da-soft.com
AnyDAC - Oracle, MySQL, MSSQL, MSAccess, IBM DB2, Sybase
ASA, DbExpress, ODBC freeware data access framework
gs-soft AG - www.gs-soft.com
SAPx - Delphi to SAP R/3 direct access
Saphir - SAP R/3 metadata at your fingertips
MetaBase - ERWIN model in Delphi applications



.



Relevant Pages

  • Re: Problems with ADO and Multithreading: List Index Out Of Bounds
    ... What line of code triggers this error? ... ASA, DbExpress, ODBC freeware data access framework ... SAPx - Delphi to SAP R/3 direct access ... Saphir - SAP R/3 metadata at your fingertips ...
    (borland.public.delphi.database.ado)
  • Re: Fastcode Functions into RTL - a Poll
    ... > you could drop these in to the Delphi 7 source and get the benefit now. ... Dmitry Arefiev - www.da-soft.com ... ASA, DbExpress, ODBC freeware data access framework ... Saphir - SAP R/3 metadata at your fingertips ...
    (borland.public.delphi.non-technical)
  • Re: Delphi outsourcing is gone ?
    ... Your are like the AMG for Mercedes. ... ASA, DbExpress, ODBC freeware data access framework ... SAPx - Delphi to SAP R/3 direct access ... Saphir - SAP R/3 metadata at your fingertips ...
    (borland.public.delphi.non-technical)
  • Re: Dexter and MIDAS
    ... Yes it is a big deal, because we are buying high quality ... > ASA, DbExpress, ODBC freeware data access framework ... > SAPx - Delphi to SAP R/3 direct access ... > Saphir - SAP R/3 metadata at your fingertips ...
    (borland.public.delphi.non-technical)
  • Re: [ANN] AnyDAC 1.0.2 - Freeware Oracle, MySQL, MSSQL, etc data access framework
    ... > of AnyDAC you will get also MS Access, IBM DB2, Sybase ... > ASA support. ... > Saphir - SAP R/3 metadata at your fingertips ... > MetaBase - ERWIN model in Delphi applications ...
    (borland.public.delphi.thirdpartytools.general)