Subject Windows - Linker Not Finding DLL
Author barfingdog2004
Hi Experts:

I'm having trouble adding embedded Firebird to my
Windows application. The application will run on a
laptop, so I have no reason for a separate server.
This, I believe, is what the embedded server is for.

I've downloaded Firebird-1.5.0.4290_embed_win32.zip
and was hoping that package would contain everything
I needed. I've found that was not correct, and the
include file ibase.h wasn't in the download. So I
downloaded Firebird-1.5.0.4290_win32.zip, and found
the header file. Is this an oversight? Or does the
embed zip depend on the presence of the other zip
file?

I'm a Unix programmer, and this is my second
Windows project. So I'm no expert for this platform.

I've noticed the release notes, in the "Install
Firebird 1.5 on Windows 32" section, suggests using
the installer. The download's readme.txt also
recommends the installer. I don't see any executable
in the embedded download. Is there an installer for
the embedded Firebird download?

I skipped the reference to the installer, figuring
perhaps the embedded package doesn't use it.

Reading the "Installing Embedded server from a zip
kit" section of the release notes, I copied fbembed.dll
into my project's "Debug" directory, where Visual C++
will place the executable, and renamed it to fbclient.dll.
I also added "fbclient.dll" to the project's list of
library moduals in Visual C++.

The link step failed, with the following error:

LINK : fatal error LNK1104: cannot open file
"fbclient.dll"

What seems to be missing is the import library.
Again, I can't find an import library in the embedded
download.

I tried to copy some ".lib" files from the other
zip file, but haven't had any luck.

I appreciate the effort that has gone into Firebird.
I'm looking forward to using it.

Advice please?

Thanks
Larry