Berkeley DB 1.86: Download Page for Windows

Download

Here you can download the main package, which includes all the source code, projects for Dev C++ and Visual C++ 6.0, and a highly-optimised .LIB with the static (ie, the code is linked into your program rather than being run from a DLL) library. To use the library, in VC6, go to menu Project->Settings->Link tab and then in "Object/library modules" put dbstatic.lib in there at the end.

I have also enclosed a proxy for the DB interface, to make things easier, in db186proxy.c and db186proxy.h.

To see how to use the proxy, look at testdb.c. The return value from getdb needs (free)ing.

Get the entire package here.