Skip to content

FB Library Search#261

Merged
arvanus merged 6 commits into
mariuz:devfrom
Jdochoa:FB3
Jun 25, 2022
Merged

FB Library Search#261
arvanus merged 6 commits into
mariuz:devfrom
Jdochoa:FB3

Conversation

@Jdochoa

@Jdochoa Jdochoa commented Jun 19, 2022

Copy link
Copy Markdown
Contributor

Added configuration for FB client library.

imagen

At the moment the configuration applies only to windows and at the application level. Connection level implementation pending.
The search order of the library is corrected, remaining as follows:

  1. Try specific library, according to the FR configuration.
  2. Try to load fbembed.dll from the current application location.
  3. Try to load fbclient.dll from the current application location.
  4. Try to locate fbclient.dll through the installation registry. It only looks for "DefaultInstance"; If your installation has another name, this is not taken into account.
    4.1. Try to locate %FB Directory%\fbclient.dll
    4.2.- Try to locate %FB Directory%\wow64\fbclient.dll
    4.3.- Try to locate %FB Directory%\bin\fbclient.dll
    4.4.- Try to locate %FB Directory%\bin\wow64\fbclient.dll

5.- Let's try from the PATH and System directories for FBClient.dll
6.- Last try : attemps loading gds32.dll from PATH and System directories

Fix: #199 #229 #251 #258


label_charset = new wxStaticText(getControlsPanel(), -1, _("Charset:"));
long comboStyle = wxCB_DROPDOWN;
#ifndef __WXMAC__

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Jdochoa do you remember why this change? (just curious because looks like a type

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, it was my mistake. I already corrected it

Comment thread src/metadata/domain.cpp
@arvanus
arvanus merged commit d939c44 into mariuz:dev Jun 25, 2022
@Jdochoa Jdochoa mentioned this pull request Oct 5, 2022
@arvanus

arvanus commented Oct 5, 2022

Copy link
Copy Markdown
Collaborator

@Jdochoa I think you need to separate this config, one path for x64 and other for x86 build, and this should be transparent for the user.
Probably need to add a config for flamerobin config manager to show/hide configurations according to it's plataform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants