Subject Re: Identifying whether client library is embedded or normal
Author Adam
--- In firebird-support@yahoogroups.com, Nando Dessena <nando@...>
wrote:
>
> Adam,
>
> A> I understand these are different under-the-hood, but when I
attempted
> A> it in practice a while back it did not work. I did post a bug
report
> A> last year reporting that I had issues with both local connection
and
> A> embedded connections on 2003 server (1346568). Alexander Peshkov
> A> kindly pointed out the problem was with Terminal Services.
Perhaps he
> A> was only referring to the local connection, but in any case, I
made an
> A> embedded version of our program, tested it on a XP box and it
worked
> A> fine. I then zipped it and uploaded it to a TS session where it
did
> A> not work.
>
> That bug report has to do with local connections, which don't work
for
> the reasons outlined there and above. Embedded connections are
> entirely different beasts and I assure you they work well in any
> environment including terminal.
>
> What do you mean with "it did not work"?

I mean that I received the same 'unavailable database' exception when
I tried to connect to the database through the embedded server.

I will do some tests later to find out whether I had my head on
backwards that day. I did not check which dll was being loaded and I
probably shouldn't just assume it loaded the renamed embedded dll in
the folder I was executing from.

Adam