We're writing a multi-threaded application and would like to use One CDatabase
object for many threads. Is it possible?
DB : SQL Server 6.5
Programming Environment : VC 4.2
OS : NT 4.0 ( Hebrew Enabled )
Thanks in advance,
On Tue, 03 Feb 1998 16:58:41 +0200, Yacov Wolfowicz
>We're writing a multi-threaded application and would like to use One CDatabase
>object for many threads. Is it possible?
>DB : SQL Server 6.5
>Programming Environment : VC 4.2
>OS : NT 4.0 ( Hebrew Enabled )
>Thanks in advance,
(remove --- from address to e-mail)
I use VB42+ODBC+MS SQL 6.5. and needs help on multi-threading.
Has anyone encountered this situation? I want to open a database
in a multithreaded application and keep using the same CDatabase
object to access tables in other threads.
Then use db in Thread 1, ..,Thread N to access tables.
I was told this causes database time out problmes, anybody know of
another way? Only other way is to open the database in each thread but
it's very time consuming.
Thank you for your time
Technology Providers, Inc.