bug stopping alerter bcb xe10 seattle
Posted: Thu 16 Jun 2016 12:33
unsing odac 9.7.24, c++ builder xe10 pro 23.0.21418.4207 .
I have a global TOraSession * GDB in a datamodule, and a TOraAlerter * on a form.
The alerter works correctly, receives messages, ... but an error is triggered when closing the form stops the alerter.
In the OnCloseQuery event, I have
I have to include the stop in a try {} catch(...){} block to avoid the following exception when closing form:
Project cec.exe raised exception class EOraError with message 'ORA-01013: user requested cancel of current operation
ORA-06512: at "SYS.DBMS_ALERT", line 250
ORA-06512: at line 1'.
Why Why Why?
I have a global TOraSession * GDB in a datamodule, and a TOraAlerter * on a form.
The alerter works correctly, receives messages, ... but an error is triggered when closing the form stops the alerter.
In the OnCloseQuery event, I have
Code: Select all
void __fastcall TFGeneralFrame::FormCloseQuery(TObject *Sender, bool &CanClose)
{
if (GDB->Connected)
if (OraAlerterWait->Active)
OraAlerterWait->Stop();
CanClose=true;
}
Project cec.exe raised exception class EOraError with message 'ORA-01013: user requested cancel of current operation
ORA-06512: at "SYS.DBMS_ALERT", line 250
ORA-06512: at line 1'.
Why Why Why?