Article View: borland.public.cppbuilder.database.ado
Article #5603ADO in DLL?
From: Lance Zhang
Date: Wed, 04 Apr 2001 03:26
Date: Wed, 04 Apr 2001 03:26
19 lines
1400 bytes
1400 bytes
Hi! All, Context: I build a sample DLL following a article named "Using A Data Module In A DLL" By Mr. Mark CashMan published on http://www.temporaldoorway.com about how to put a datamodule in a dll--specifically the way to initialize a datamodule in a DLL. When I use a combination of TDatabase and TQuery it works just fine. But when I substitute them with TADOConnection and TADOQuery, an EOleSysError stating "CoInitiliaze not yet called" is raised upon the constructor of TDataModule1. Is it a ADO bug or just I neglect some steps? Pleas help! Lance Zhang
Technical Details
Message-ID:
<3aca95fa_2@dnews>Path:
arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,5201656cf3859ded,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2001-04-03 20:44:04 PST Reply-To: "Lance Zhang" <lance219@yeah.net> From: "Lance Zhang" <lance219@yeah.net> Newsgroups: borland.public.cppbuilder.database.ado Subject: ADO in DLL? Date: Wed, 4 Apr 2001 11:26:27 +0800 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 61.131.84.171 Message-ID: <3aca95fa_2@dnews> X-Trace: dnews 986355194 61.131.84.171 (3 Apr 2001 20:33:14 -0700) Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!howland.erols.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews