Discussion:
Deploying DBX4
(too old to reply)
Mikael
2008-05-09 07:11:20 UTC
Permalink
What files do I need to deploy when using DBX4 and where (directory) to put
the files.
I'm also using DBXPooling

Mikael
Bob Swart
2008-05-09 16:09:59 UTC
Permalink
Hi Mikael,
Post by Mikael
What files do I need to deploy when using DBX4 and where (directory) to put
the files.
See http://www.drbob42.com/examines/examin91.htm for my article on DBX4
with some information on Deployment.
Post by Mikael
I'm also using DBXPooling
In that case, apart from the dbExpress driver itself, you also have to
deploy the dbxdrivers.ini and dbxconnections.ini file. The reason is
that neither of these two delegate drivers are directly connected to a
TSQLConnection component that holds their parameters, so the DBX4
framework has no way to know what the DBXTraceConnection consists of,
for example.
So far, I found no other way to let the application other than to
include the dbxdrivers.ini and dbxconnections.ini files to the list of
files to deploy. The good news is that you can make them almost empty,
leaving only the [DBXTrace] and [DBXTraceConnection] entries in
respectively the dbxdrivers.ini and dbxconnections.ini files.

Also, when working with packages, you need to deploy the
DBXCommonDriver100.bpl package, as well as at least the rtl100.bpl and
dbrtl100.bpl.These two additional packages are needed because the
DBXCommonDriver100.bpl uses them, and this new package cannot use the
older packages from Delphi 2006 with the same name (but different
contents).

In my Delphi 2007 VCL Database Development courseware manual I also
describe how you can use the CoreLab dbExpress drivers to statically
link in with your executable (something which currently is not possible
with the dbExpress drivers that ship with Delphi 2007 or RAD Studio).
Post by Mikael
Mikael
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Delphi Win32 & .NET books on Lulu.com: http://stores.lulu.com/drbob42
Personal courseware + e-mail support http://www.ebob42.com/courseware
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml
Mikael
2008-05-12 12:09:22 UTC
Permalink
Thanks Bob!

I have read your excelent article about DBX4.

But I still don't know where to deply dbxdrivers.ini and dbxconnections.ini
files

Mikael
Post by Bob Swart
Hi Mikael,
Post by Mikael
What files do I need to deploy when using DBX4 and where (directory) to
put the files.
See http://www.drbob42.com/examines/examin91.htm for my article on DBX4
with some information on Deployment.
Post by Mikael
I'm also using DBXPooling
In that case, apart from the dbExpress driver itself, you also have to
deploy the dbxdrivers.ini and dbxconnections.ini file. The reason is that
neither of these two delegate drivers are directly connected to a
TSQLConnection component that holds their parameters, so the DBX4
framework has no way to know what the DBXTraceConnection consists of, for
example.
So far, I found no other way to let the application other than to include
the dbxdrivers.ini and dbxconnections.ini files to the list of files to
deploy. The good news is that you can make them almost empty, leaving only
the [DBXTrace] and [DBXTraceConnection] entries in respectively the
dbxdrivers.ini and dbxconnections.ini files.
Also, when working with packages, you need to deploy the
DBXCommonDriver100.bpl package, as well as at least the rtl100.bpl and
dbrtl100.bpl.These two additional packages are needed because the
DBXCommonDriver100.bpl uses them, and this new package cannot use the
older packages from Delphi 2006 with the same name (but different
contents).
In my Delphi 2007 VCL Database Development courseware manual I also
describe how you can use the CoreLab dbExpress drivers to statically link
in with your executable (something which currently is not possible with
the dbExpress drivers that ship with Delphi 2007 or RAD Studio).
Post by Mikael
Mikael
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Delphi Win32 & .NET books on Lulu.com: http://stores.lulu.com/drbob42
Personal courseware + e-mail support http://www.ebob42.com/courseware
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml
Bill Todd [TeamB]
2008-05-12 12:33:22 UTC
Permalink
Post by Mikael
But I still don't know where to deply dbxdrivers.ini and
dbxconnections.ini files
In the directory with your EXE.
--
Bill Todd (TeamB)
Bob Swart
2008-05-12 13:47:06 UTC
Permalink
Hi Mikael,
Post by Mikael
But I still don't know where to deply dbxdrivers.ini and dbxconnections.ini
files
In the same directory (I thought it was obvious, but will explicitly add
that fact)...
Post by Mikael
Mikael
Groetjes,
Bob Swart
--
Bob Swart Training & Consultancy (eBob42.com) Forever Loyal to Delphi
CodeGear Technology Partner -- CodeGear RAD Studio Reseller (BeNeLux)
Personal courseware + e-mail support http://www.ebob42.com/courseware
Blog: http://www.drbob42.com/blog - RSS: http://eBob42.com/weblog.xml
Loading...