Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to open a database without MFC ?

How to open a database without MFC ?

Scheduled Pinned Locked Moved C / C++ / MFC
databasequestionc++tutorial
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zakarias
    wrote on last edited by
    #1

    How can I open a database and execute SQL requests without MFC classes (CDaoDatabase, CDaoRecordset...)? in other words: how people used to work with databases before the existance of MFC (the old times)? Thank you in advance.:rose:

    R J 2 Replies Last reply
    0
    • Z zakarias

      How can I open a database and execute SQL requests without MFC classes (CDaoDatabase, CDaoRecordset...)? in other words: how people used to work with databases before the existance of MFC (the old times)? Thank you in advance.:rose:

      R Offline
      R Offline
      randal bryant
      wrote on last edited by
      #2

      Maybe you should use the ODBC API directly from your app. There should be plenty of information on MSDN.

      1 Reply Last reply
      0
      • Z zakarias

        How can I open a database and execute SQL requests without MFC classes (CDaoDatabase, CDaoRecordset...)? in other words: how people used to work with databases before the existance of MFC (the old times)? Thank you in advance.:rose:

        J Offline
        J Offline
        John M Drescher
        wrote on last edited by
        #3

        Use ADO. I am a MFC programmer and have not used MFC database classes in years. http://www.codeproject.com/database/caaadoclass1.asp[^] John

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups