Article View: borland.public.cppbuilder.database.ado
Article #561BCB6: ADO Access DB Close/Remove lock
From: poojo hackma
Date: Mon, 21 Nov 2005 17:12
Date: Mon, 21 Nov 2005 17:12
5 lines
1382 bytes
1382 bytes
Whenever I open my Access database, it creates an Access Database Lock (.ldb), which is normal. This happens in Borland also, but when I close my BCB6 program, the .ldb lock does not go away. The final statement in my destructor is ADOConnection1->Close(), and this does not cause any errors. Why is the connection not removing the DB Lock?
Technical Details
Message-ID:
<4381ffc1$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10698b,fede33655dd334b3,start X-Google-Attributes: gid10698b,public X-Google-Language: ENGLISH,ASCII-7-bit From: "poojo hackma" <poojo.com/mail> Newsgroups: borland.public.cppbuilder.database.ado Subject: BCB6: ADO Access DB Close/Remove lock Date: Mon, 21 Nov 2005 11:12:28 -0600 Lines: 7 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original X-Antivirus: avast! (VPS 0546-6, 11/20/2005), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 12.45.133.147 Message-ID: <4381ffc1$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1132593089 12.45.133.147 (21 Nov 2005 09:11:29 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail