Subject Re: [firebird-support] Engine12 32 64 bit question
Author Sukhendu Barua
How to know which fbclient.dll is 32bit and which one is 64bit? By the file size?

Thank you.

On Fri, May 17, 2019 at 7:42 PM Helen Borrie helebor@... [firebird-support] <> wrote:

alex@... wrote:

> I'm developing a 32 bit application running on 64 bit Windows with 64 bit Firebird 3 server.

> I use 32 bit library to connect to Firebird

> C:\Program Files\Firebird\Firebird_3_0\WOW64\fbclient.dll

> I'm getting the engine12 Win32 error 193. This means some bitness
> mismatch. The message lists what seems to be a 64 bit dll.

> Are there any settings to specify to enable such a connection?

No - such a connection is totally allowed already, no special
configuration required. The server does not know (nor care) whether
the client is 32 or 64-bit.

> There are other 64 bit applications using the server, but this application has to be 32 bit.

Somehow, Windows is finding the wrong client version, via some PATH
setting, which presumably your 64-bit clients are finding correctly.

Place a copy of the 32-bit fbclient.dll in the same directory where the
client application executable is located, to ensure that Windows will
find it first and not seek it out via the PATH variable.


This email has been checked for viruses by AVG.