Article View: borland.public.cppbuilder.database.ado
Article #3226"Killing" a slow query in a Thread - HOW ?
From: Helcio Mayor
Date: Mon, 28 Oct 2002 12:51
Date: Mon, 28 Oct 2002 12:51
11 lines
1404 bytes
1404 bytes
Dear all, I have to say that this newgroup is great because always there are altruistic people prompt to help, and I am very content and greatfull to all. Well, I think I have posted similar question but maybe was not clear enough. Is it possible to call a method or set a property on a query that takes long to return so that it returns ? If the user chooses to terminate the application, the only option I have is to kill the Thread that keeps the TADOQuery, but it eventually crashes the main process. Thanks,
Technical Details
Message-ID:
<3dbd40f8$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,bb380d00e2577b40,start X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-10-28 08:00:05 PST From: "Helcio Mayor" <helciomayor@hotmail.com> Sender: "Helcio Mayor" <helciomayor@hotmail.com> Reply-To: "Helcio Mayor" <helciomayor@hotmail.com> Subject: "Killing" a slow query in a Thread - HOW ? Newsgroups: borland.public.cppbuilder.database.ado X-User-Info: 62.49.218.46 62.49.218.46 NNTP-Posting-Host: 207.105.83.65 Message-ID: <3dbd40f8$1@newsgroups.borland.com> Date: 28 Oct 2002 05:51:52 -0700 X-Trace: newsgroups.borland.com 1035813112 207.105.83.65 (28 Oct 2002 05:51:52 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!newsgroups.borland.com!not-for-mail