ahh i got your point!
First of all you need to create an exe which says hello world.
And than you should create another program that injects a dll into the first program which will add "hello earth".
The injection of the dll is pretty hard work...
laconstantine
Junior Poster in Training
70 posts since May 2007
Reputation Points: 10
Solved Threads: 1
Lets just simplify this to three methods:
One, create a resource file which the program will load. This is easily modifiable by external programs.
Two, use pipes and send something telling the program to use the following alternative data.
Three, open the executable, find the initialized data and overwrite it.
The first one is easy, but has to be done before execution; Second one may complicate things, if you do not think it through and design it as simple as possible; Third one is very involved and can drive you insane with things as simple as off-by-one errors.
MosaicFuneral
Posting Virtuoso
1,691 posts since Nov 2008
Reputation Points: 888
Solved Threads: 116