🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #1394

Re: The DataModule's Program!

#1394
From: Viatcheslav V. Vassiliev
Date: Tue, 06 Jul 2004 09:51
21 lines
1778 bytes
For ADO, you should call CoInitialize(NULL)/CoUninitialize() at the
beginning/end of TThread::Execute().

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)

"Chenjieo" <chenjieo@163.com> �������/�������� � �������� ���������:
news:40ea531d@newsgroups.borland.com...
> I use the datamodule to connect the database.If I use the single thread
,it
> can link the database no program and I use the multi-thread to link the
> database,the database compones isn't work together.I want to use the
> database to create a new class,how to create ?
> Please give me help .Thanks.
>
>
Technical Details
Message-ID: <40ea7607$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40ea531d@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,85c91fe6b38d8054
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <40ea531d@newsgroups.borland.com>
Subject: Re: The DataModule's Program!
Date: Tue, 6 Jul 2004 13:51:02 +0400
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 213.234.218.42
Message-ID: <40ea7607$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1089107463 213.234.218.42 (6 Jul 2004 02:51:03 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail