June 2001
Intermediate to advanced
688 pages
19h 18m
English
My Win* C/C++ application crashes in the Berkeley DB library when Berkeley DB calls fprintf (or some other standard C library function).
You should be using the “Debug Multithreaded DLL” compiler option in your application when you link with the build_win32/Debug/libdb32d.lib library (this .lib file is actually a stub for libdb32d.DLL). To check this setting in Visual C++, choose the Project/Settings menu item and select Code Generation under the tab marked C/C++, and see the box marked Use runtime library. This should be set to Debug Multithreaded DLL. If your application is linked against the static library, build_win32/Debug/libdb32sd.lib; then, you will want to set Use runtime library to Debug Multithreaded.
Setting this option ...