CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    1

    Database support for dll



    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.

  2. #2
    Join Date
    Apr 1999
    Posts
    3

    Re: Database support for dll

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured