A makefile for MSVC is provided in the win32 directory of the source distribution. Use
nmake /f makefile.w32 CFG=config
debug-lib - Static library with debugging information. Builds odbc++sd.lib in the debug-lib subdirectory.
debug-dll - Shared library with debugging information. Builds odbc++d.lib and odbc++d.dll in the debug-dll subdirectory.
prod-lib - Production static library. Builds odbc++s.lib in the prod-lib subdirectory.
prod-dll - Production shared library. Builds odbc++.lib and odbc++.dll in the prod-dll subdirectory.
qt-debug-lib - Static library with QT and debugging information. Builds odbc++qtsd.lib in the qt-debug-lib subdirectory.
qt-debug-dll - Shared library with QT and debugging information. Builds odbc++qtd.lib and odbc++qtd.dll in the qt-debug-dll subdirectory.
qt-prod-lib - Production static library with QT. Builds odbc++qts.lib in the qt-prod-lib subdirectory.
qt-prod-dll - Production shared library with QT. Builds odbc++qt.lib and odbc++qt.dll in the qt-prod-dll subdirectory.
When building with QT, make sure you have your environment set up right. QTDIR must point to a directory that contains the include and lib subdirectories for QT. The makefile will assume version 202 (2.0.2) of QT. To override that, pass QT_VERSION=nnn to nmake, for example:
nmake /f makefile.w32 CFG=qt-debug-dll QT_VERSION=201
The library is always built with multithreading support on win32.