All prebuilt libraries are available in the php-libs repositories (no more since 5.2)
The filename format is:
qdbm-x.y.z-vcversion.zip
where x.y.z defines the version, vcversion which Visual C++ has been.
No special configuration required.
This step describes the process VC6/ 2k3/5/8.
cd c:\build_php_deps\qdbm-1.8.77\ nmake /f vcmakefile
This command will build the DLL and its .lib as well as the static version of the library.
To be written