[DUG] BDS2007 command line compiler on separate machine
Steve Peacocke
steve.peacocke at gmail.com
Tue Jun 26 20:15:43 NZST 2007
On 26/06/07, Richard Vowles <richard at developers-inc.co.nz> wrote:
> The only problem I encounter
> is using InterBase databases (which require a "real" drive).
I've been playing around with that this afternoon. You can use Aliases
for the database, and named servers for the database server. This
means that the database can be moved anywhere (you only have to change
the pointer to the Alias) or the whole server can be replaced with
another IP address. So long as it has the same Server name, there will
be no changes to the connection - and no changes to the code.
Of course, you can also load the database details from an ini file on
your program's startup - this means that you can have a play database
for development, a test database for testing, and a live database,
with no code changes.
Steve
--
Steve Peacocke
http://stevepeacocke.blogspot.com/
More information about the Delphi
mailing list