Article View: borland.public.cppbuilder.database.ado
Article #3413Re: ADO Dataset Closing problem
From: Jurko
Date: Tue, 17 Sep 2002 08:25
Date: Tue, 17 Sep 2002 08:25
13 lines
1415 bytes
1415 bytes
This 'smells' like you're using an unpatched version of ADO Express...
(most likely BCB 5.0 without patch 2 installed) - if so... that patch
should remove your problem....
> try { close_method; }catch(...){}
>
> It works fine.
try { ??? } catch (...) {} is UGLY!!!! IMHO... and can cost you dearly
in case when you really have an error on closing your dataset - like data
being lost and you have apsolutely no chance to do anything about it.
Jurko
Technical Details
Message-ID:
<0ro6ma.tq8.ln@news.ve-mil.hr>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!news.ve-mil.hr!not-for-mailReferences:
<3d85f8ed$1@newsgroups.borland.com> <3d867d00@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,6a612f20b58e58b1 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-09-17 02:59:53 PST From: "Jurko" <Jurko@ve-mil.hr> Newsgroups: borland.public.cppbuilder.database.ado References: <3d85f8ed$1@newsgroups.borland.com> <3d867d00@newsgroups.borland.com> Subject: Re: ADO Dataset Closing problem Date: Tue, 17 Sep 2002 10:25:05 +0200 Lines: 15 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: <0ro6ma.tq8.ln@news.ve-mil.hr> NNTP-Posting-Host: 195.29.221.130 X-Trace: newsgroups.borland.com 1032251822 195.29.221.130 (17 Sep 2002 01:37:02 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!news.ve-mil.hr!not-for-mail