Cannot load vendor library

1,934 views
Skip to first unread message

Midsoft UK

unread,
Aug 11, 2021, 12:57:24 PM8/11/21
to firebird-support
Hi

We are getting this error on a new WIndows 10 client.  All others work fine, the fbclient.dll is in the application folder as we always do.

[FireDAC][Phys][FB]-314. Cannot load vendor library [fbclient.dll or fbembed.dll]. The specified module could not be found
Hint: check it is in the PATH or application EXE directories, and has x86 bitness.

Any ideas ?

Thanks
Andy

Midsoft UK

unread,
Aug 11, 2021, 2:01:42 PM8/11/21
to firebird-support
I've since tried a FDPhysFBDriverLink1 and setting vendorlib and vendorhome but although the files exists in the pathI still get the error. I;ve tried replacing the fbclient just in case too.

Tomasz Tyrakowski

unread,
Aug 11, 2021, 2:33:23 PM8/11/21
to firebird...@googlegroups.com
On 11.08.2021 at 20:01, Midsoft UK wrote:
> I've since tried a FDPhysFBDriverLink1 and setting vendorlib and vendorhome
> but although the files exists in the pathI still get the error. I;ve tried
> replacing the fbclient just in case too.

fbclient.dll needs VC runtime libraries (depending on FB version those
are msvcp80.dll, msvcr80.dll for v2.x, msvcp100.dll, msvcr100.dll for
v3, and msvcp140.dll, vcruntime140.dll for v4). Make sure they're either
in the same directory as fbclient.dll or somewhere else in your PATH. If
the app works on one machine and doesn't work on another, usually there
are some dlls missing. For FB4 you also need proper plugins (dlls in the
plugins subdirectory). That's just a guess - I don't use FireDAC, so I
can't be sure.

regards
Tomasz
________________________________


Ta wiadomość zawiera poufne informacje przeznaczone tylko dla adresata. Jeżeli nie jesteście Państwo jej adresatem, bądź otrzymaliście ją przez pomyłkę, prosimy o powiadomienie o tym nadawcy oraz trwałe jej usunięcie.

Mark Rotteveel

unread,
Aug 12, 2021, 3:49:34 AM8/12/21
to firebird...@googlegroups.com
As there error suggests, have you checked if the fbclient.dll you have
is the right bitness for the application?

Mark
--
Mark Rotteveel

Midsoft UK

unread,
Aug 12, 2021, 4:10:36 AM8/12/21
to firebird-support
Hi Mark

Its the same one as on all the other PC's. It's 32 bit

Andy

Midsoft UK

unread,
Aug 12, 2021, 4:11:54 AM8/12/21
to firebird-support
ok Tomasz
That's something to check against the working ones.  The only difference between this PC and the other is thats its the new Windows 365 Business Cloud PC, so there could well be things that need installing.
Andy

Midsoft UK

unread,
Aug 13, 2021, 10:27:06 AM8/13/21
to firebird-support
I Installed the VC runtime distributable but still the same.

I also tried Regsvr23 for the dll - 

The module "C:\Users\Public\xxx\xxx\fbclient.dll" may not be compatible with the version of Windows that you're running. Check if the module is compatible with an x86 (32-bit) or x64 (64-bit) version of regsvr32.exe.

Thanks
Andy

Dimitry Sibiryakov

unread,
Aug 13, 2021, 10:29:57 AM8/13/21
to firebird...@googlegroups.com
13.08.2021 16:27, Midsoft UK wrote:
> I also tried Regsvr23 for the dll -

What gave you a strange idea that it may work at all?

> The module "C:\Users\Public\xxx\xxx\fbclient.dll" may not be compatible with the version
> of Windows that you're running. Check if the module is compatible with an x86 (32-bit) or
> x64 (64-bit) version of regsvr32.exe.

It looks like you have a trash file and not a valid DLL.

--
WBR, SD.

Midsoft UK

unread,
Aug 13, 2021, 10:35:03 AM8/13/21
to firebird-support
Copied it up many times.
I was trying not to but I'll have to install FB in it's entirety.
Andy 

Midsoft UK

unread,
Aug 13, 2021, 10:41:59 AM8/13/21
to firebird-support
Anyone know if there is a paid support option for FireBird ? It's really holding me up.

Midsoft UK

unread,
Aug 13, 2021, 10:43:56 AM8/13/21
to firebird-support
sd - to try to gain more information. You don't ever trial / error ?

On Friday, 13 August 2021 at 15:29:57 UTC+1 sd wrote:

gkvi...@gmail.com

unread,
Aug 14, 2021, 2:18:40 AM8/14/21
to firebird-support
Is it possible that you have multiple fbclient.dll files in different directories? Then pay attention to the search order! Where possible still different 32 or 64 bit versions?
Gregor

Stefan Heymann

unread,
Aug 14, 2021, 2:54:50 AM8/14/21
to firebird...@googlegroups.com
Andy,

I have written a small command line tool that tells you the "bitness" (32 or 64) of a Windows executable (.exe or .dll). You can download it here, together with the Delphi source code:

http://www.destructor.de/bitness/bitness.zip


Usage: bitness <filespec> [options]

filespec File(s) to examine, may contain wildcards

Options:
/r or -r Recurse subdirectories


HTH

Best Regards

Stefan




----- Ursprüngliche Nachricht / Original Message -----
Von/From: Midsoft UK <midsof...@gmail.com>
Gesendet/Date: 13.08.2021 16:27
An/To: firebird-support <firebird...@googlegroups.com>
Betreff/Subject: [firebird-support] Re: Cannot load vendor library
--
You received this message because you are subscribed to the Google Groups "firebird-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebird-suppo...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/firebird-support/c46380ad-70f4-4e2e-9f55-f1fbfea30441n%40googlegroups.com.

Vlad Khorsun

unread,
Aug 14, 2021, 9:22:16 AM8/14/21
to firebird-support
On Friday, 13 August 2021 at 17:41:59 UTC+3 midsof...@gmail.com wrote:
Anyone know if there is a paid support option for FireBird ? It's really holding me up.
 

Regards,
Vlad

Vlad Khorsun

unread,
Aug 14, 2021, 9:24:04 AM8/14/21
to firebird-support
  Probably, Dependency Walker helps to investigate the issue.

Regards,
Vlad

Midsoft UK

unread,
Aug 17, 2021, 7:42:40 AM8/17/21
to firebird-support
Cheers Stefan - 

This is the result.  Seems correct to me.

C:\Users\AndyDyble\Downloads\bitness>bitness C:\Users\Public\MidSoft\ServTrak\fbclient.dll
C:\Users\Public\MidSoft\ServTrak\FBCLIENT.DLL  32-bit

Andy

Midsoft UK

unread,
Aug 18, 2021, 5:11:43 AM8/18/21
to firebird-support
Hi all
It's solved. For anyone's future info although we are using 32 bit fbclient.dll and applications, you have to install the 64bit  Visual C++ library, not the 32 bit.
Andy

Dimitry Sibiryakov

unread,
Aug 18, 2021, 5:14:40 AM8/18/21
to firebird...@googlegroups.com
18.08.2021 11:11, Midsoft UK wrote:
> For anyone's future info although we are using 32 bit fbclient.dll and applications, you
> have to install the 64bit Visual C++ library, not the 32 bit.

It is not true. Don't confuse readers, please.

--
WBR, SD.

Midsoft UK

unread,
Aug 18, 2021, 5:35:25 AM8/18/21
to firebird-support
It is true. I just installed it and it worked. I tried the 32bit version more than once and didn't work.

Dimitry Sibiryakov

unread,
Aug 18, 2021, 5:37:44 AM8/18/21
to firebird...@googlegroups.com
18.08.2021 11:35, Midsoft UK wrote:
> I just installed it and it worked.

You obviously missed something. 64 bits libraries cannot be used by 32 bits processes
in any way. That's how computers work physically.

--
WBR, SD.

Midsoft UK

unread,
Aug 18, 2021, 5:40:35 AM8/18/21
to firebird-support
Maybe these windows 365 cloud business PC's work differently ?

Its hard to miss something when just install a Microsoft installation. I can show you if are that interested but for now these are my observations in case one has a similar issue.

Dimitry Sibiryakov

unread,
Aug 18, 2021, 5:42:20 AM8/18/21
to firebird...@googlegroups.com
18.08.2021 11:40, Midsoft UK wrote:
> I can show you if are that interested but for now these are my observations in case one
> has a similar issue.

Ok, show me "DLL pane" in Process Explorer for your running application.

--
WBR, SD.

Midsoft UK

unread,
Aug 18, 2021, 6:26:48 AM8/18/21
to firebird-support
I don't have time to message about with that. All I'm saying is when installing the second file below did not work but installing the first one fixed it. You can make of it what it want as yo clearly have more knowledge of this that I do.
I think its important to state what worked for others to try  in the future. Even if it doesn't work for them. There were many suggestions to my question. None worked but that does not mean they were lies, they were simply efforts and ideas to help which is what a support group is for.  As with all these groups, if you have nothing beneficial to say, it's best not to say anything.

Please note, I will not be replying to any of your replies as an argument on here is pointless. It's just the information I have available. 
 

vcredist.JPG
Reply all
Reply to author
Forward
0 new messages