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. File Database Access Method

File Database Access Method

Scheduled Pinned Locked Moved C / C++ / MFC
databasequestion
3 Posts 2 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.
  • I Offline
    I Offline
    IceBerG71
    wrote on last edited by
    #1

    Hi I involved in a project that will need to create file database for usage.. I know of 2 ways, 1) is to use structure and fwrite, fread to store the database using C Runtime functions 2) Is to use WriteFile And ReadFile to store the database using APIs.. Anyone know about the limitations or problems with this 2 methods or is there a better way of storing file database. the accessing will be quite intensive and i need reliablity, stability and fast access. Anyone that has been using this 2 methods can comment? Thank you for your time and efforts. Greatly appreciated.

    D I 2 Replies Last reply
    0
    • I IceBerG71

      Hi I involved in a project that will need to create file database for usage.. I know of 2 ways, 1) is to use structure and fwrite, fread to store the database using C Runtime functions 2) Is to use WriteFile And ReadFile to store the database using APIs.. Anyone know about the limitations or problems with this 2 methods or is there a better way of storing file database. the accessing will be quite intensive and i need reliablity, stability and fast access. Anyone that has been using this 2 methods can comment? Thank you for your time and efforts. Greatly appreciated.

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      IceBerG71 wrote: is there a better way of storing file database. the accessing will be quite intensive and i need reliablity, stability and fast access. Have you considered an Access database? It satisfies all of your requirements much better than your current considerations.


      Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

      1 Reply Last reply
      0
      • I IceBerG71

        Hi I involved in a project that will need to create file database for usage.. I know of 2 ways, 1) is to use structure and fwrite, fread to store the database using C Runtime functions 2) Is to use WriteFile And ReadFile to store the database using APIs.. Anyone know about the limitations or problems with this 2 methods or is there a better way of storing file database. the accessing will be quite intensive and i need reliablity, stability and fast access. Anyone that has been using this 2 methods can comment? Thank you for your time and efforts. Greatly appreciated.

        I Offline
        I Offline
        IceBerG71
        wrote on last edited by
        #3

        Sorry, i did not furish with more details. the target device is on an embedded device with customize Window CE and using embedded Visual C++ 3.0. So i dun think Access is a good choice since memory consideration is critical. i have been using Access on my PC application and it had given me quite a few problems.

        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