🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Why can't I delete MDB-File after creation?

#4175
From: Christian
Date: Sun, 10 Mar 2002 23:08
12 lines
1212 bytes
You can create MDB-Files with the catalog-class you
get after importing the Type Library for ADOX.

Why can't I delete the MDB-File after destroying the 
catalog-object?

TCatalog *Catalog = new TCatalog(Application);
Catalog->Create(TVariant("Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\\temp\\test.mdb"));
delete Catalog;

DeleteFile("C:\\temp\\test.mdb"); // <- This has no effect
Technical Details
Message-ID: <2283a52.0203101508.503bd9ec@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,d5cc9c030d80071b,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-03-10 15:08:16 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: csname@hotmail.com (Christian)
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Why can't I delete MDB-File after creation?
Date: 10 Mar 2002 15:08:16 -0800
Organization: http://groups.google.com/
Lines: 12
Message-ID: <2283a52.0203101508.503bd9ec@posting.google.com>
NNTP-Posting-Host: 217.83.85.145
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1015801696 2455 127.0.0.1 (10 Mar 2002 23:08:16 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 10 Mar 2002 23:08:16 GMT