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. Storing data in a database..

Storing data in a database..

Scheduled Pinned Locked Moved C / C++ / MFC
databasequestionmysqlsysadmin
6 Posts 4 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.
  • A Offline
    A Offline
    altfell
    wrote on last edited by
    #1

    Hello! How can I store data easily and free? I tried mysql++ but it has a conflict with managed classes. I would like to use the advantages of basic SQL commands, but without having to buy a server... Thank you in advance, Alin Stoian

    H J 2 Replies Last reply
    0
    • A altfell

      Hello! How can I store data easily and free? I tried mysql++ but it has a conflict with managed classes. I would like to use the advantages of basic SQL commands, but without having to buy a server... Thank you in advance, Alin Stoian

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      i suggest use from Access and see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_MFC_CDaoDatabase.asp[^]_**


      **_

      whitesky


      A 1 Reply Last reply
      0
      • H Hamid Taebi

        i suggest use from Access and see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_MFC_CDaoDatabase.asp[^]_**


        **_

        whitesky


        A Offline
        A Offline
        altfell
        wrote on last edited by
        #3

        Sorry, maybe i didn't make myself very clear.. I want to use it in a C++ program.. are there any libraries for Access?:confused: Alin Stoian

        H S 2 Replies Last reply
        0
        • A altfell

          Sorry, maybe i didn't make myself very clear.. I want to use it in a C++ program.. are there any libraries for Access?:confused: Alin Stoian

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          yes please see again my post_**


          **_

          whitesky


          1 Reply Last reply
          0
          • A altfell

            Sorry, maybe i didn't make myself very clear.. I want to use it in a C++ program.. are there any libraries for Access?:confused: Alin Stoian

            S Offline
            S Offline
            Steve S
            wrote on last edited by
            #5

            Yup. If you're using VC6, there's the CDao* classes. Personally, I'd use the ATL Database classes. Of course, these aren't available in the Express edition of 2005. You can use ADO classes, or ODBC as well. There is no 'Access' library per se, since Access uses either a desktop engine (MSDE) which is API compatible to SQL Server, or it can use JET, which uses DAO or ISAM internally, depending on the data source. Steve S Developer for hire

            1 Reply Last reply
            0
            • A altfell

              Hello! How can I store data easily and free? I tried mysql++ but it has a conflict with managed classes. I would like to use the advantages of basic SQL commands, but without having to buy a server... Thank you in advance, Alin Stoian

              J Offline
              J Offline
              Jim Crafton
              wrote on last edited by
              #6

              Check out this: http://www.sqlite.org/[^] ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF!

              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