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