Subject | Re: Deploy Delphi Application with FB |
---|---|
Author | Alfred Seetoh |
Post date | 2003-12-03T06:10:38Z |
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
IB_Constants.IB_GDS32 := 'fbclient.dll';
Then I copied my application exe file and fbclient.dll into the
client pc's c:\deploy folder. Then everything works perfectly.
So I'm wondering what's the purpose of executing instreg.exe, editing
the host file, and copying the 3 files (firebird.msg, firebird.conf
and aliases.conf)? My client machine is also Win 2k.
wrote:
> At 12:44 PM 2/12/2003 +0000, you wrote:will
>
> >Sorry for missing out all these details, here it is.
> >FB 1.5
> >IBObjects
> >Win 2k
> >Delphi 6
>
> The FIRST thing to do is to study the release notes. In there you
> find out that copying the gds32.dll that comes with Fb 1.5 is *not*the
> right thing to do. To make it simplest for yourself to set upFirebird
> clients for your IBO applications, make a copy of fbclient.dll ndand
> rename it to gds32.dll. Deploy that to the clients' systemdirectory or,
> better, deploy it in the same directory as where your applicationpieces -
> executable runs.
>
> Also create a directory on the client for other Firebird bits and
> let's say you create it as c:\Program Files\FirebirdClient. Aftercreating
> this directory, create a subdirectory named \bin and copy theprogram
> instreg.exe into it.place
> Go back to the FirebirdClient directory and copy firebird.msg
> there. (Later, when you get the hang of things, you may want to
> firebird.conf and aliases.conf there).At the
>
> Now, open a command window and cd to that new ...\bin directory.
> command line typeI added 1 line of code in the first line of my delphi project source:
> instreg.exe
>
> One more thing to do:
>
> Edit the hosts file and add the IP address and server name, e.g.
>
> 112.13.14.1 MyServer # Firebird host server
>
> /heLen
IB_Constants.IB_GDS32 := 'fbclient.dll';
Then I copied my application exe file and fbclient.dll into the
client pc's c:\deploy folder. Then everything works perfectly.
So I'm wondering what's the purpose of executing instreg.exe, editing
the host file, and copying the 3 files (firebird.msg, firebird.conf
and aliases.conf)? My client machine is also Win 2k.