🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ado & vcl

#2960
From: Vassiliev V.V.
Date: Fri, 14 Feb 2003 15:13
16 lines
1660 bytes
You probably use ADO components inside TThread.Execute. Call
CoInitialize(NULL) at beginning of thread execute procedure and
CoUninitialize() at end. This is required if you are using any COM object.

----------------------------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.oledbdirect.com
The fastest way to access MS SQL Server, MS Jet (MS Access)
and Interbase (LCPI provider, http://ibp.lcpi.lipetsk.ru) databases.

"Sergey" <serge_cher@rambler.ru> �������/�������� � �������� ���������:
news:3e4ce8ef$1@newsgroups.borland.com...
>
> How to use vclado50 and vcl50 runtime packages?
> I get error "Coinitialize has not been called."
Technical Details
Message-ID: <3e4d0a78@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e4ce8ef$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,e420682d81625ed7
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-02-14 07:33:24 PST
From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3e4ce8ef$1@newsgroups.borland.com>
Subject: Re: ado & vcl
Date: Fri, 14 Feb 2003 18:13:57 +0300
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 213.247.201.57
Message-ID: <3e4d0a78@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1045236344 213.247.201.57 (14 Feb 2003 07:25:44 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail