how to modify self binary code

Started by fushiyun, September 28, 2006, 04:47:58 AM

Previous topic - Next topic

fushiyun

i am programming windows program by using win32 API.
however, in order to save relative parameters, i can use many methods, such as registry key.
but, i hope that i can save these relative parameters in myself binary code(*.exe).
i know that window system cannot allow modifying active programing's binary code.

so, can anybody give me some suggestion.
thank.

BogdanOntanu

IF you do not like registry THEN use a INI text file ENDIF
DO NOT write to your OWN executable, it is non-proffessional and it will trigger a lot of AV heuristic
Ambition is a lame excuse for the ones not brave enough to be lazy.
http://www.oby.ro

P1

M$ is rapidly closing off every way to store data/self modify exe files.  Please take a hint here, M$ never intended the exe file to be used like this.  Because just about any one who does this, is up to no good.  On the legal side, it violates EULA of the existing exe files.

Topic closed.

The best practice here is to use conventional methods for storing data.

PM a moderator, if you have any questions about this topic.

Regards,  P1  :8)