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. Advice Required

Advice Required

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++data-structureshelpannouncement
2 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.
  • S Offline
    S Offline
    Shamoon
    wrote on last edited by
    #1

    Guys, I've developed an application in VC++. It is a simple application, a sort of a dictionary. It searches the meaning of a word typed by a user from a text file. Ofcourse i distribute the text file with this application, otherwise it'll be of no use ;P I've provided the internet update facility in the application i.e the user of application can run an upgrade program that checks the new enteries in the dictionary on the internet, and download the new words added. This should be noted that the entire text file is not downloaded again. Only the new words added are downloaded and then they are just appended in the existing text file. The text is arranged in text file with some syntax, so that my application program correctly recognizes words and their meanings. Here is the problem, if a user of my application manually open and edit the file and disturb its syntax, then ofcourse program will not work. So, i do not want to distribute a plain text file to user. Instead i want to provide user a dll, in which this data must be present. As such is it possible for me to append dll data as what i am doing in case of text file?? If yes, than how do i make such dll and how i represent data in that dll whether char array or what??? Is there any other alternative solution you suggest for my problem ????

    R 1 Reply Last reply
    0
    • S Shamoon

      Guys, I've developed an application in VC++. It is a simple application, a sort of a dictionary. It searches the meaning of a word typed by a user from a text file. Ofcourse i distribute the text file with this application, otherwise it'll be of no use ;P I've provided the internet update facility in the application i.e the user of application can run an upgrade program that checks the new enteries in the dictionary on the internet, and download the new words added. This should be noted that the entire text file is not downloaded again. Only the new words added are downloaded and then they are just appended in the existing text file. The text is arranged in text file with some syntax, so that my application program correctly recognizes words and their meanings. Here is the problem, if a user of my application manually open and edit the file and disturb its syntax, then ofcourse program will not work. So, i do not want to distribute a plain text file to user. Instead i want to provide user a dll, in which this data must be present. As such is it possible for me to append dll data as what i am doing in case of text file?? If yes, than how do i make such dll and how i represent data in that dll whether char array or what??? Is there any other alternative solution you suggest for my problem ????

      R Offline
      R Offline
      roboo
      wrote on last edited by
      #2

      Shamoon wrote: Here is the problem, if a user of my application manually open and edit the file and disturb its syntax, then ofcourse program will not work. So, i do not want to distribute a plain text file to user. Instead i want to provide user a dll, in which this data must be present. In my ipnion,I think the easiest solution is to rename your ***.txt as ***.dll.I mean,user may think the file is a dll file,but it is a text file actually. Shamoon wrote: As such is it possible for me to append dll data as what i am doing in case of text file?? If yes, than how do i make such dll and how i represent data in that dll whether char array or what??? Is there any other alternative solution you suggest for my problem ???? My answer is that you can program to change the True Dll file resource to complete your thoughts. But I strongly suggest you to use my solution,I had use it in many many many project.It's my top secret :(;) I am I,Who is who,I am who,Who am I

      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