Subject IBObjects 4.6 bc problems with local gdb files
Author Remy Lebeau
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.


--
Remy Lebeau
Lebeau Software - Owner, Software Engineer
http://www.lebeausoftware.org



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.407 / Virus Database: 268.12.9/458 - Release Date: 9/27/06