Subject Re: [IBO] Using Server and Client versions
Author clementdoss
Hi Antti,

Thanks for answering.

> >
> > No don't do that - you may break the other apps if they depend on
some > > specific version. I'd be rather p*ssed if I installed
software that did
> > something like that.

I don't want to copy or update anything automatically. I just want to
pop a window saying something like: "Hey dude! You are accessing FB
2.0 with a 1.0.2 client! Check the box below if you don't want to be
bothered again!".

The problem I had was very annoying in two ways. First, the technical
one, the server shutdown every time all tables where closed (I
automatically disconnect from the server). And somewhere in the
process, FB service had to be restarted.
And the second, it seemed I was blaming the other applications... well
fortunately the problem was solved. In fact, there were some gds32.dll
installed on the client machine, but only the gds32.dll version 1.02
was used.

If I knew it was a conflict earlier, it would save me a lot of time.

> >
> > There's a much simpler way: supply the fbclient.dll (or gd32.dll
if you
> > want, same thing) with your app, and place it in the same
directory as your
> > application executable. IBO looks for it there first, so you have
> > and exact control over which version is used. Not only that, but
no other
> > application can ever override your client dll, which is what your
> > would do.

hehehe. I forgot that! Thanks for reminding me ;-)

> >
> > As to the multiple servers problem, that's a different problem. I
> > the same thing, that some apps install FB *server* on my machine,
which is
> > pretty stupid because they could just use the embedded version and
> > would be no problems at all. So now I have x number of servers
running on my
> > machine, doing absolutely nothing (I don't use *all* my programs
*all* the
> > time) but using up memory.

All the applications are Client/Server. The IT dude installed the FB
server on the server, and said: "It's up and running". I connected and
showed some stuff and the problems started.

> >
> > So if your app is a client-app, used by one user at a time,
always, always
> > use the embedded firebird. If it's a server installation, well,
then I think
> > it calls for manual checkup anyway.

Yes. I love the embedded feature.

But I must insist. How can I retrieve the server and client version
that my application is using?

Best regards,