mariuz / flamerobin

FlameRobin is a database administration tool for Firebird RDBMS. Our goal is to build a tool that is: lightweight (small footprint, fast execution) cross-platform (Linux, Windows, Mac OS X, FreeBSD) dependent only on other Open Source software
http://flamerobin.org
MIT License
211 stars 64 forks source link

x64 version load fbclient.dll from the wrong directory #321

Closed ahesse closed 8 months ago

ahesse commented 11 months ago

FlameRobin x64 0.97 tries to load the fblient.dll for Firebird 2.5 from Firebird_2_5\WOW64 instead from Firebird_2_5\bin

arvanus commented 8 months ago

Hi, Flamerobin x64 needs Firebird x64 DLL, just do be sure, are your Fb setup x64?

fperana commented 8 months ago

I've just updated to version 0.99 (from one of the latest 0.9.3, don't remember which one exactly) and came across a similar issue.

I'm using x86 version and it tries to load the x64 version from c:\Program Files\Firebird\Firebird_3_0 instead from c:\Program Files\Firebird\Firebird_3_0\WOW64.

Moreover, both these directories are not in the search path, so it would be better to try loading from c:\Windows\SysWOW64 (for the x86 version) or c:\Windows\System32 (for the x64 version).

Also, adding the correct library to Preferences->General->Library file name will work for DB connections, but not for the "Retrieve server version" function (this seems to work after connecting to at least one DB, probably because at this point the DLL is already loaded).