🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages Started by Richard Ulrich Tue, 07 Nov 2000 07:39
access access table with bde and odbc from within a dll
#6130
Author: Richard Ulrich
Date: Tue, 07 Nov 2000 07:39
15 lines
1459 bytes
Hi,

I'm accessing an access table with the bde and odbc from within a dll.
Reading, inserting changing of the records in the table - everything works
fine.
After the work is done I call
Table->Close();
still everything is fine...
But when i unload the dll from the host app, then the host app just hangs
there with a SQL-Hourglass cursor forever.
I have no idea what 's going on. Do I have to close the SQL - ODBC
connection somehow. Isn't it enough to only close the table?

Thank's for your help
Richard
Re: access access table with bde and odbc from within a dll
#6139
Author: Richard Ulrich
Date: Wed, 08 Nov 2000 07:11
6 lines
1146 bytes
I fixed the problem by browsing through the helpfile.
I had to create a TDatabase manually at runtime. When I created only the
TTable, a TDatabase was created automaticly for me, and not properly
destroyed.

Richard
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads