Oracle Cancelable Utils

The Add-on contains synchronous routines to open queries with possibility to cancel execution.
The Add-on is intended for Direct Oracle Access library by Allround Automations.
The Add-on have been tested under Delphi 5 and C++ Builder 5.
You can download Add-on here:oracutils.zip

Overview

Add-on used mechanism of possibility to cancel execution of the running query from other thread. You call function passing DataSet that need to open or execute and time after which is necessary to show window of canceling. The window of canceling is a window with only one button with Cancel caption. You can press Cancel button to interrupt query. If the query take short time then the window of canceling will not be shown at all. The function returns control to the callable block only after query will be opened or executed, so you can use it as synchronous function.
To use of possibility to cancel of the running query you have to have Oracle Client not less then 8.0. 

Demo

procedure TForm1.ExecBtnClick(Sender: TObject);
begin

    OpenCancellableQuery(OracleDataSet1);
end
;

OracleCUtils.gif (5238 bytes)

 

About Direct Oracle Access

Direct Oracle Access libraies is a set of components to access Oracle Databases without BDE.
Copyright 1997, 2000 Allround Automations
http://www.allroundautomations.nl


EhLib Team
E-mail: support@ehlib.com
ICQ 10785451