Subject Re: Client in FireBird
Author Adam
--- In firebird-support@yahoogroups.com, "Gustavo" <gusm@d...> wrote:
> Hello:
>
> I'm developping my first application in FireBird and I'm trying
to make it work in a multiuser enviroment. I have 2 PCs in a LAN. In
PC1 I have Windows XP and FireBird server installed. I really don't
know if it is Super Server or Classic Server because I installed it
several months ago running "Firebird-1.5.1.4481-Win32.exe" and I
don't remember which one I choose. (¿How can I know this? ¿Which is
the diference?)

It may be easier at this stage to uninstall the version you have and
install 1.5.2. Classic will create a process for every connection,
superserver will have a single process regardless of the number of
connections.

>
> I developped my application in PC1 and it works fine. Now I
want to use PC2, which has Windows 98, as a client. I copied my
applicaction in a folder and in the same folder I copied
fbclient.dll. When my application starts and tries to connect to the
database it fails. I'm using IBX component TIBDataBase with property
DataBaseName set to PC1:DataBaseAlias1. In PC1, in the file
firebird.conf, there is a line DataBaseAlias1 =
C:\MyFolder\MyDataBase.fdb.

Rename fbclient.dll to gds32.dll. IBX expects it to be called that.
Part of the FB installer can optionally create a gds32.dll into the
system directory which is probably why your server machine works fine.

>
> I opened telnet in PC2 and connected with PC1, port 3050, and
it works.

good, the service is running and no firewall is blocking it.

>
> When I run the application in PC1 it works but when I run the
application in PC2 I get the following error message:
> Unable to complete network request to host "PC1".
> Failed to locate host machine.
> Undefined service gds_db/tcp
>
> I never installed FireBird in PC2. I only copied my application
and fbclient.dll in the same folder because I supposed this was the
only thing I had to do. Evidently I'm wrong.
>
> ¿Do I have to run Firebird-1.5.1.4481-Win32.exe in PC2 and
choose "Minimum client install - no server, no tools"? ¿Do I have to
do another thing?

Nope, a rename should fix this.

Adam