Subject | Re: how to detect which client library is currently loaded |
---|---|
Author | hsdev77 |
Post date | 2006-03-07T01:48:04Z |
(Hi, I'm back)
Thanks to all for all the comments.
The reason is simple. 2 cases:
1. I have an idea to 'give away' a demo cd of some apps to the
(prospect) customers, full featured except being hard-coded limited to
only use the embedded client.
(sounds silly? maybe you're right that I'm worrying about nothing)
2. I have a plan to use fbembed to replace file-based database,
utilized all the triggers/stored procedure which will simplify the
client side logics. There is a need to make sure the data is stored
locally for locating other supporting files (eg. parsing directory
location, etc) also because in messy MS-dll world, we cannot control
every dll on the client machine. (very often fbclient.dll renamed to
gds32.dll then fbembed renamed to fbclient or gds32, or vice versa,
etc, etc)
Regards-HS
--- In firebird-support@yahoogroups.com, The Wogster <wogsterca@...>
wrote:
Thanks to all for all the comments.
The reason is simple. 2 cases:
1. I have an idea to 'give away' a demo cd of some apps to the
(prospect) customers, full featured except being hard-coded limited to
only use the embedded client.
(sounds silly? maybe you're right that I'm worrying about nothing)
2. I have a plan to use fbembed to replace file-based database,
utilized all the triggers/stored procedure which will simplify the
client side logics. There is a need to make sure the data is stored
locally for locating other supporting files (eg. parsing directory
location, etc) also because in messy MS-dll world, we cannot control
every dll on the client machine. (very often fbclient.dll renamed to
gds32.dll then fbembed renamed to fbclient or gds32, or vice versa,
etc, etc)
Regards-HS
--- In firebird-support@yahoogroups.com, The Wogster <wogsterca@...>
wrote:
>are
> hsdev77 wrote:
> > How to detect which client library (fbclient or fbembed) is currently
> > loaded. Any Firebird API to call ?
> >
> > Actually the goal is to make a standalone application (eg. with
> > Delphi/FIB/IBO) and want to limit it only to use embedded client
> > library. How to know that the loaded library is the correct
> > fbembed.dll instead of fbclient.dll (for eg. user has renamed the
> > fbclient.dll into fbembed.dll)
> >
> > Any advise would be appreciated. Thanks.
> >
>
> I think your worrying about nothing. Now look at it from the clients
> side.
>
> Gee, this application uses Firebird, I have a working firebird server
> that gets backed up every night, why does the #$@!^% application, not
> allow me to add the database to my server, and access it from there.
>
> The only clients that will worry about this stuff, are the ones that
> smart enough to want to do it, or have a good reason to.
>
> So, why do you want to add a unneeded restriction to the user?
>
> W
>