Article View: borland.public.cppbuilder.database.ado
Article #1820Re: Access violation when deleting TADOQuery object
From: Dan Schmidt
Date: Mon, 09 Feb 2004 15:56
Date: Mon, 09 Feb 2004 15:56
26 lines
1804 bytes
1804 bytes
Sorry, that didn't fix it. The exception that comes up when the "delete FQuery" statement runs is as follows: "Access violation at address 00000000. Read of address 0000000000." Any other ideas? Dan "Viatcheslav V. Vassiliev" <support@oledbdirect.com> wrote in message news:4025fb03$1@newsgroups.borland.com... > > FQuery->Fields->Remove(FField1); > > delete FField1; > > Try remove these lines - fields collection and all its objects will be > destroyed with delete FQuery. > > //------------------------------------------ > Regards, > Vassiliev V. V. > http://www.managed-vcl.com - using .Net objects in Delphi for Win32 + > ADO.Net > http://www.oledbdirect.com - The fastest way to access MS SQL Server, > MS Jet (Access) and Interbase (through OLEDB) >
Technical Details
Message-ID:
<4027adab@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<402437cb$1@newsgroups.borland.com> <4025fb03$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,6fc050c7c8a84663 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2004-02-09 08:10:49 PST From: "Dan Schmidt" <dan.schmidt@zedisolutions.com> Newsgroups: borland.public.cppbuilder.database.ado References: <402437cb$1@newsgroups.borland.com> <4025fb03$1@newsgroups.borland.com> Subject: Re: Access violation when deleting TADOQuery object Date: Mon, 9 Feb 2004 08:56:28 -0700 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 139.142.33.20 Message-ID: <4027adab@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1076342187 139.142.33.20 (9 Feb 2004 07:56:27 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-09!supernews.com!newsfeed.gamma.ru!Gamma.RU!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail