Subject Re: [firebird-support] Re: FB 3 embedded on Windows 7 64 bit
Author Mark Rotteveel
On 2017-03-10 14:56, Martin Schreiber mse00000@...
[firebird-support] wrote:
> On 10.03.2017 15:35, hvlad@... [firebird-support]
> wrote:
> >
> >
> > ---In firebird-support@yahoogroups.com, <mse00000@...> wrote :
> >
> >
> >> Are ther other possibilities to set the Firebird path than setting
> >> %FIREBIRD%? A parameter to attachDatabase() maybe?
> >
> > SetEnvironmentVariable.
> >
> >
> >
> https://msdn.microsoft.com/en-us/library/windows/desktop/ms686206(v=vs.85).aspx
> >
> > Use it before attempt to establish very first connection, or
> before
> > attempt to load fbclient.dll (if it is possible in your app).
> >
> So setting FIREBIRD environment variable is the correct and only way to
> define the Firebird/plugin path at runtime?

The other option is to put fbclient.dll and the plugin and intl folders
in the same folder as your executable.

Mark