Link to home
Start Free TrialLog in
Avatar of dict
dict

asked on

HOW COMPILE A .TXT FILE WITHIN PROJECT?

Dear friends,

I know a dozen of examples of programs which uses, especially dictionary files (.dct) which it is impossible for reading! Well, I have
many files (.txt) which is reading, such as listbox1.Items.LoadFromFile('c:\teste.txt'); There is a way for hidden/encrypt this type of file?

Many thanks and regards,



dict
Avatar of delphized
delphized

you can put your files in a resource, and then load them directly in the stringlist. This accomplish the hide, to encrypt, you could just encrypt the files before compiling them in the resource, and then decrypting at runtime.
ASKER CERTIFIED SOLUTION
Avatar of DeerBear
DeerBear

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial