Subject | Re: [IBO] Ib_Events problems continued :) |
---|---|
Author | Robert martin |
Post date | 2006-07-31T23:10:16Z |
> Not that I know of. It was gone even before Fb 1.0. But the oldHi
> problem is likely to be still there in some form if the wrong client
> is being used. Has this been checked?
>
> Helen
>
>
I was using an older version of Firebird so I uninstalled and re
installed using the latest windows 1.5.3 installer. The problem was
still present. I assume this rules out a wrong client dll.
As far as I can see the problem isn't gone as I can see the error
handling code in IBObjects kick in and try and deal with the problem
(from the FB API).
However your email got me thinking and I created a test app to prove the
problem was repeatable. It isn't ! In my test app I still occasionally
get the CPU window up in the IDE but I don't get the GDS32.dll error and
it's bad crash.
I have spent all morning trying to spot the difference between my real
app and my test app. The only difference seems to be my real app is
threaded and contains threaded DB connections. However the stuff
related to the ib_events is in the main application thread. So I am at
a total loss.
In the end I wrote replacement code to perform the same functionality we
were using the events to deal with, so I am going to fall back and use
that. I am going to use a thread that polls each connected database
periodically and checks if the generator tied to the table i am
interested in has been incremented, if so I run my code. Its nowhere
near as elegant as the events solution and provides a performance hit,
but at least it works :)
Thanks to everybody who offered there help in relation to this.
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>