TLDR:
wow64\fbclient.dll tries to load \plugins\chacha.dll instead of wow64\plugins\chacha.dll
Hello, first of all, sorry for resurrecting such an old thread. I'm reworking how Flamerobin load it DLL, and faced with this exact problem.
Steps to reproduce: install Firebird (x64) 4.0 and don't check copy to system folder, and setup Flamerobin x86, try to connect to employee.fdb and get this same error
So, Flamerobin looks for DLL in this sequence:
- local dir
- looks for Firebird setup folder from registry, then first wow64\fbclient.dll, bin\wow64\fbclient.dll
, .\fbclient.dll
, bin\fbclient.dll (if it's 64 bits then skips wow64 folder)
- lets SO look for fbclient.dll
In this case Flamerobin are trying to load C:\Program Files\Firebird\Firebird_4_0\WOW64\fbclient.dll, but somehow this DLL are trying to load C:\Program Files\Firebird\Firebird_4_0\plugins\chacha.dll instead of C:\Program Files\Firebird\Firebird_4_0\WOW64\plugins\chacha.dll
Why does this happens? If I copy wow64 content to local Flamerobin folder it works, but I think this is not an "user friendly" solution
Thanks!