I'm using a TDataBase component to open SQL tables through an ODBC driver (MySQL ODBC 3.51 Driver), and a TTable component to add and update the records.
The application is working fine on my computer so I deployed it with the following copiler options :
. Linker -> Linking -> Use Dynamic RTL : Unchecked
. Packages -> Runtime packages -> Build with Runtime packages : Unchecked
Now, when I try the software on another computer (who has the ODBC driver installed and the user is properly configured, but hasn't BCB6 installed), I can't connect to the database :
In a try/catch block, the calling of the TDataBase connection method (DB_Database->Connected = true
generates this exception : "An error occured while attempting to initialize the Borland Database Engine (error $2108)"
Is this error generated because the TDataBase object is not correctly configured or do I need to install some sort of database engine? Perhaps the TDataBase is not the right DB object to use in this situation...
Simon Lapierre
slapierre@sonomax.com
The application is working fine on my computer so I deployed it with the following copiler options :
. Linker -> Linking -> Use Dynamic RTL : Unchecked
. Packages -> Runtime packages -> Build with Runtime packages : Unchecked
Now, when I try the software on another computer (who has the ODBC driver installed and the user is properly configured, but hasn't BCB6 installed), I can't connect to the database :
In a try/catch block, the calling of the TDataBase connection method (DB_Database->Connected = true
Is this error generated because the TDataBase object is not correctly configured or do I need to install some sort of database engine? Perhaps the TDataBase is not the right DB object to use in this situation...
Simon Lapierre
slapierre@sonomax.com