CPB Mailing List
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Complile Data Files into EXE
----------
> From: Barry <barry@triton.co.za>
> To: cpb-thread@zdtips.com
> Subject: 2nd: Complile Data Files into EXE
> Date: Thursday, March 05, 1998 5:34 AM
>
> I read somewhere that you can compile your (text) data files into
> your EXE file, so that they cannot be tampered with. If this is
> so, and I am sure it is, then how?
I already responded to this once, but maybe it as lost, or I wasn't
specific enough. First, understand that nothing is tamperproof. But, if
you want to compile your text files in with your application, you have
several options. First manually put the strings in the text section of the
executable (if you are asking, this is probably too difficult). By far,
the easiest way is to write a little program that converts a text file into
a .cpp file, and then you can just add that .cpp file to your project. You
can also add the text as a resource.
I created a BCB app which creates .ccp files out of text files (basically
loads text file into a rich edit, and has some speed buttons and dialogs to
load the text file and save it as .cpp file). I'll send it to you
secifically, so that it doesn't waste time for those not interested.
W Komornicki's Home Page |
Main Index |
Thread Index