🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.databases
Article #7

Using TDatabase inside of COM DLL? TDatabase.Open hangs.

#7
From: K&A
Date: Mon, 08 Feb 1999 00:00
12 lines
2047 bytes
I have a COM (ActiveX) project where I've built a number of
dual-interface COM objects. (Delphi 4)

Now I'm trying to connect to an Access database within the project. I've
added a TDataModule and placed a TDatabase component on it. When the DLL
is loaded (in the initialization section), I create the data module and
plug values into the database to get it up and running.

When I call the database's Open method, it just hangs. I'm assuming that
there is something subtle about this. While I've done a lot with
databases, I've never tried this kind of trick before.

Any pointers?

Thanks

James

Technical Details
Message-ID: <36BF4B96.7460955E@xmission.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb0ea,5ef280a8bb81fc98,start
X-Google-Attributes: gidfb0ea,public
X-Google-Thread: ffff5,5ef280a8bb81fc98,start
X-Google-Attributes: gidffff5,public
X-Google-Thread: f5214,5ef280a8bb81fc98,start
X-Google-Attributes: gidf5214,public
X-Google-Thread: fd196,5ef280a8bb81fc98,start
X-Google-Attributes: gidfd196,public
X-Google-Thread: 10baee,5ef280a8bb81fc98,start
X-Google-Attributes: gid10baee,public
From: K&A <kaa@xmission.com>
Subject: Using TDatabase inside of COM DLL? TDatabase.Open hangs.
Date: 1999/02/08
Message-ID: <36BF4B96.7460955E@xmission.com>
X-Deja-AN: 442105055
Content-Transfer-Encoding: base64
X-Accept-Language: el,en-GB
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@xmission.com
X-Trace: news.xmission.com 918506417 3933 166.70.7.153 (8 Feb 1999 20:40:17 GMT)
Organization: XMission http://www.xmission.com/
Mime-Version: 1.0
NNTP-Posting-Date: 8 Feb 1999 20:40:17 GMT
Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.activex.controls.writing,borland.public.delphi.oleautomation,borland.public.delphi.vcl.components.using,comp.lang.pascal.delphi.misc