See your documentation for Visual C++ for details about compiling and linking a Win32 application for Windows NT or Windows 95. The DB-Library sample programs include sample build files.