🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Weird problem with ADODataSet::FetchProgress event

#2700
From: Luis Espinosa M�rquez
Date: Wed, 09 Apr 2003 16:01
23 lines
1470 bytes
Hi

I am trying to use the event FetchProgress to cancel a query. However, just
creating the body for this event I get an exception OLE Error 80040200 when
I
run a query.

I just have this:

void __fastcall TFormMain::ADODataSetFetchProgress(
      TCustomADODataSet *DataSet, int Progress, int MaxProgress,
      TEventStatus &EventStatus)
{
    // Testing
}

If I remove the event, everything works fine

I am using ADOExpress (with the patch), ADO 2.7 and C++ Builder 5

Does anybody know where is the problem?

Thanks a lot
Technical Details
Message-ID: <3e944494$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,76a0417c82aeefda,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-04-09 09:14:05 PST
From: "Luis Espinosa M�rquez" <lem@lemforeverREMOVE_THIS.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Weird problem with ADODataSet::FetchProgress event
Date: Wed, 9 Apr 2003 12:01:01 -0400
Lines: 30
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 209.227.134.122
Message-ID: <3e944494$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049904276 209.227.134.122 (9 Apr 2003 09:04:36 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail