Subject Re: [IBO] IBObjects 4.6 bc problems with local gdb files
Author Lester Caine
Remy Lebeau wrote:

> In IBObjects 4.6 Bc, TIBODatabase does not work when the Path property is
> set to an existing GDB file on the local maching and the Protocol property
> is set to cpLocal. When setting the Connected property to true,
> isc_attach_database() fails with an error code of 335544375, indicating that
> the database is unavailable. The GDB file itself works fine, even in
> projects using older versions of IBObjects.
>
> Setting the Protocol property to cpTCP_IP or cpNetBEUI instead of cpLocal,
> using the exact same filename for the Path property, works fine though. Is
> 4.6 Bc buggy, or is cpLocal not supported anymore?
>
> On a separate note, one of my co-workers found that when the Protocol is
> cpLocal, access to the database file is not thread-safe, whereas it is when
> using cpTCP_IP instead. We use IBO in multi-threaded applications, so we
> need all database access to be thread-safe.

Helen will probably correct this. I only use cpTCP_IP even on local
machines - because of problems with the 'local' protocol. I seem to
recall that the problem is not Firebird, but something external, and
that it only affects windows, but you are running IBO - so you need
windows ;)

--
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php