I have what could prove to be a very challenging question, but hopefully someone will be able to answer it.

What i have is 2 programs (both created in delphi). I want to be able to change a particular couple of lines in one program with the other program, if you see what i mean.

At the moment as you'd expect, i have to open the 'to be editted' program in delphi and manually edit the line/s and then re-run the program to get the new executable. I wish to be able to do all of this through a seperate application.

So, is this possible? If so, How?

Carson

1)you can not change the code insight an executable, even your using delphi, c++, c# or any other programming language

2)try to add parameters to your executable. in this way for each parameter your soft is executing another piece of code

best regards,

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.