I wrote this for http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_21905932.html
How to modify a string from your own exe. The example demo seems a bit empty so check the diuscussion for IMPORTANT details

Source Code