Access violation with TOraAlerter component
Posted: Tue 21 Sep 2010 11:51
Hello,
I'm using the TOraAlerter component and I'm getting access violations in the OnTimeout event handler when closing the application.
The effect can be reproduced with the Alerter demo application when the main thread is set to sleep for several seconds before the alerter is stopped. It seems to be a problem with the timing of the Windows messages. A OnTimeout event occurs after the alerter has been stopped, and the var parameter Continue refers to a variable that does not exist any more.
What can I do?
Best regards,
Walter Raaflaub
I'm using the TOraAlerter component and I'm getting access violations in the OnTimeout event handler when closing the application.
The effect can be reproduced with the Alerter demo application when the main thread is set to sleep for several seconds before the alerter is stopped. It seems to be a problem with the timing of the Windows messages. A OnTimeout event occurs after the alerter has been stopped, and the var parameter Continue refers to a variable that does not exist any more.
What can I do?
Best regards,
Walter Raaflaub