Including text files with .exe?

Everything else that doesn't fall into one of the other PB categories.
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Including text files with .exe?

Post by Killswitch »

Is it possible to include a text file with an .exe (in a similar sort of way to attaching images to an .exe) so that you can read and write to the file? I'd like to store some data in the file (just a string) that the .exe can read, it's for anti-copying devices.

Thanks a lot.
~I see one problem with your reasoning: the fact is thats not a chicken~
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

if your purpose is to write into the executable, most anti virus utilities may have a fit...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

That is my inention, I only want to do it for anti-copying purposes.
~I see one problem with your reasoning: the fact is thats not a chicken~
Gansta93
Enthusiast
Enthusiast
Posts: 238
Joined: Wed Oct 20, 2004 7:16 pm
Location: The Village
Contact:

Post by Gansta93 »

It is possible t include data and read, inclide a file, but just when you compile... after, it's difficulte to change the content of an executable... but it is possible.
Be seeing you! :-)

Gansta93
If you speak french, you can visite Le Monde de Gansta93 (Gansta93's World)
TerryHough
Enthusiast
Enthusiast
Posts: 781
Joined: Fri Apr 25, 2003 6:51 pm
Location: NC, USA
Contact:

Post by TerryHough »

Set this thread
viewtopic.php?t=12878
Post Reply