Here are the steps you need to take to get started putting together a project using dbDAO.
To put together a project using dbDAO
For ANSI projects
#define OLE2ANSI
For Unicode projects
#define UNICODE
#define _UNICODE
ddao35.lib
Note Be sure to use the corresponding dbDAO file for a particular type of build. Each build is a combination of ANSI or Unicode, debug or release, and shared or static DLLs. If you do an ANSI, debug, shared DLL build, use the ANSI, debug, shared DLL dbDAO file (Debug\Ddao35d.dll). This is because the dbDAO classes rely on Microsoft Foundation Classes (MFC) classes internally, and mixing versions of MFC classes can produce unexpected results.