IBCAlerter in a Thread

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Rainer Versteeg
Posts: 4
Joined: Tue 28 Oct 2008 13:20

IBCAlerter in a Thread

Post by Rainer Versteeg » Tue 28 Oct 2008 13:33

Hi,

I want to create a firbird connection in a thread with an IBCAlerter.

I have done it with IBExpress components.

I have one server PC with all Database files. 6 other PC connect at the same time to the database file on the server PC. All 6 PC register the IB Event at the same time. Sometimes the registration of the Event fails and the programms ends with an error.

Now my question:

Can this also happens with the TIBCAlerter component :?:

Or is this component total different to TIBEvents

Br,
Rainer

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Wed 29 Oct 2008 09:45

We don't know the cause of the TIBEvents component failure. So we cannot say if it can happen with TIBCAlerter. You should test your application and see if it works without errors.

Rainer Versteeg
Posts: 4
Joined: Tue 28 Oct 2008 13:20

Post by Rainer Versteeg » Wed 29 Oct 2008 14:00

Hi Plash,

I have a test application wich runs in a thread. Its add cyclic a row in a databank and fires an Event.

One test application runs local an a PC. The other runs on a other PC which is connect on the database on the local PC.

When i only one application then it works fine. When booth application is started then the application on the local PC runs for a few minutes and then hangs.

After restart the Firebird Server the application on the local begins to run for few minutes.

Do you know about this problem ?

Br,
Rainer

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Fri 31 Oct 2008 13:10

We don't know about this problem, and we cannot reproduce it. Please send to ibdac*devart*com a complete small sample that demonstrates the problem, including the script for creating database objects.

Post Reply