I saw a thread here yesterday giving 3 ideas, file, environment variable e passing messages, as Stretchwickster said above. I´m not seeing this thread anymore (was deleted?).
Environment variable is a good idea. We used SetEnvironmentVariable() function. When you activate a child process it creates a copy of environment variables.
You can change its values but when you return theses values are lost, i.e., you cannot return back a value.
The easiest way, seems to me, is create a file. Although not so elegant, works. We´ll implement some like this :
X.EXE will call Y.EXE passing filename to create ( Y.EXE somefilename )
Y.EXE will process and write the string to somefilename.
X.EXE will open somefilename and read the string.
Thak You All for the attention !