Click to See Complete Forum and Search --> : Database support for dll


Lianfang Xu
April 1st, 1999, 11:33 AM
When use AppWizard to create dll project, there is no check box for database support, but it does for exe project.

Can anyone tell why? Does that mean dll can not use database?

Thanks a lot.

Rangaraya
April 3rd, 1999, 03:18 PM
Just by including "afxdb.h" in stdafx.h, you'll get MFC ODBC support. Then, using ClassWizard, create a new CRecordset derived class, by specifying the tables & columns. Use this class as usual, to manipulate the table data.