Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving DATA to EXE-File

Status
Not open for further replies.

fheyn

Programmer
Joined
Mar 22, 2001
Messages
198
Location
DE
Hi,
what I did : created 40-byte string in string-table which starts with six-byte ID, rest of string consists of underscores.
starting the exe I open the exe as file and use seek and read to find out where the string is saved within the exe-file. with this offset I'd like to write some application specific data to that address.
Opening the exe for reading works fine.
However, I'm unable to open the exe-file for writing or for
read/write.
Any ideas how to solve this problem ?
thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top