.1 in Providername

From: Stefan Westner (westnerNOSPAM_at_iwadis.de)
Date: 02/24/05


Date: 24 Feb 2005 02:53:16 -0800

Hello,

when defining a connection-string I always get a .1 in the providername
like SQLOLEDB.1. What does this .1 means? Has it something to do with
threads? If I use multi_Threading I create a TADOConnection in every
Datamodule.Create. Should I set the .x to a unique number? BTW, is ADo
with SQL-Server 7 thread-safe? I call CoInitialize in evry
DataModule.Create and each thread has its own datamodule with its own
TADOConnection but I get errors when two thread run at the same time.
Any hints?

Thanks

Stefan Westner