Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: FireDAC Firebird - Cannot load vendor library [fbembed.dll].


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Jun 9, 2016 12:46 AM Last Post By: Dmitry Arefiev
Dmitry Isaev

Posts: 1
Registered: 12/10/08
FireDAC Firebird - Cannot load vendor library [fbembed.dll].  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 7, 2016 2:28 AM
Delphi 10 Seattle.
Error: [FireDAC][Phys][FB]-314. Cannot load vendor library [fbembed.dll]. The specified module could not be found. Check [fbembed.dll], which is located in one of the PATH directories or in the application EXE directory.
File fbembed is in the folder with EXE and both are the same bitness [32]. File fbembed.dll downloaded from http://sourceforge.net/projects/firebird/files/firebird-win32/2.5.5-Release/Firebird-2.5.5.26952-0_Win32_embed.zip/download.
The file path specified in the code:
procedure TForm1.FormCreate(Sender: TObject);
var
xAppPath: string;
begin
xAppPath := ExtractFileDir(Application.ExeName) + PathDelim;
FDPhysFBDriverLink.VendorLib := xAppPath + 'fbembed.dll';
end;
If the bitness is different, there will be another error: [FireDAC][Phys][FB]-314. Cannot load vendor library [fbembed.dll]. Library has unsupported architecture [64]/ Required [86]. Check [fbembed.dll], which is located in one of the PATH directories or in the application EXE directory. File is still detected, this means that the file path is correct and the errors in the wrong path can not be.
Why do I get the error?

Edited by: Dmitry Isaev on Jun 7, 2016 2:34 AM
Dmitry Arefiev

Posts: 1,406
Registered: 12/7/03
Re: FireDAC Firebird - Cannot load vendor library [fbembed.dll].  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Jun 9, 2016 12:46 AM   in response to: Dmitry Isaev in response to: Dmitry Isaev
This looks like a DLL Hell issue. Do you extracted complete ZIP content into EXE folder ?

--
With best regards,
Dmitry
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02