>>>Hi
>>>The call from n1.exe DO n2.exe . After completion n2.exe (QUIT) it remains in memory and to close it is possible only through Task Manager. If we start for n2.exe independently it is swapped normally.
>>
>>Use the RUN /N command, and make sure it's the last line of code...
>
>Hi Bruce.
>Call n2.exe with use RUN /N I apply now as temporary. I need to suspend execution of the n1.exe program before completion of the n2.exe program.
>It is realized with use Run And Wait - Mike Rissen .Íî owing to not completions of the n2.exe program the n1.exe program remains in waiting.
>In addition n2.exe should take into account common variable
>From the n1.exe program which creates them in the Application class.
take a look in the FAQ - I did a writeup on launching and waiting on an application using the CreateProcess() API call to start the application and a few others to then monitor the application and grab it's termination code. It's in the section on the Win32 API.