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 DLL

Storing data in a DLL

Scheduled Pinned Locked Moved C / C++ / MFC
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.
  • B Offline
    B Offline
    beko
    wrote on last edited by
    #1

    Hello, i need to protect some data (simple txt files). The idea here is just to protect data for wrong manipulation (i dont want to implement encryption at first place, 100 text files, i first thought i could zip/rar and use password but this seems bit unnecessary now) I remember in one program, the data is stored in a DLL file. My question is how i can store a simple text file in a DLL? or is it possible? Thanks in advance. Bekir.

    D 1 Reply Last reply
    0
    • B beko

      Hello, i need to protect some data (simple txt files). The idea here is just to protect data for wrong manipulation (i dont want to implement encryption at first place, 100 text files, i first thought i could zip/rar and use password but this seems bit unnecessary now) I remember in one program, the data is stored in a DLL file. My question is how i can store a simple text file in a DLL? or is it possible? Thanks in advance. Bekir.

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

      beko wrote:

      My question is how i can store a simple text file in a DLL? or is it possible?

      How about as a RT_RCDATA resource?


      "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

      "Judge not by the eye but by the heart." - Native American Proverb

      B 1 Reply Last reply
      0
      • D David Crow

        beko wrote:

        My question is how i can store a simple text file in a DLL? or is it possible?

        How about as a RT_RCDATA resource?


        "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

        "Judge not by the eye but by the heart." - Native American Proverb

        B Offline
        B Offline
        beko
        wrote on last edited by
        #3

        Hello, I have seen your article about using RT_RCDATA, thanks for the pointer. I will give a try. Thanks.

        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