Thread and TOraAlerter on iOS

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Daniele Buttarelli
Posts: 56
Joined: Fri 02 Aug 2013 07:51

Thread and TOraAlerter on iOS

Post by Daniele Buttarelli » Tue 08 Oct 2013 14:31

My enviroment:
- Delphi XE4 Update 1
- ODAC 9.1.3
- iOS IPAD 6.1

I have a problems using TOraAlerter in a TThread on iOS.
When I start OraAlerter in a thread, event OnEvent are never fired.
Without thread all work correctly.

How can I solve this problem?

Thanks.
Best regards.
Daniele Buttarelli

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Thread and TOraAlerter on iOS

Post by AlexP » Wed 09 Oct 2013 08:30

Hello,

TOraAlerter is run in a separate thread by default, so you needn't to additionally create a separate thread.

P.S. Please send a small project to alexp@devart@com reproducing the problem with TOraAlerter in a separate thread.

Daniele Buttarelli
Posts: 56
Joined: Fri 02 Aug 2013 07:51

Re: Thread and TOraAlerter on iOS

Post by Daniele Buttarelli » Wed 09 Oct 2013 08:43

Ok, I'll try to run OraAlerter in the main thread.
Thanks.
Daniele Buttarelli

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: Thread and TOraAlerter on iOS

Post by AlexP » Thu 10 Oct 2013 11:32

Hello,

If you have any other questions, feel free to contact us

Post Reply