Can anyone tell me how i can get the below stated problem:
Say i have an application abc.exe which accepts some input and gives the output.
I want to make some c++ or c routine to provide input through that routine to the application.
I want this help to manipulate some results in an application that i get in loop of program.
To provide input to an application through a C++ routine
Started by ankur.mittal, Mar 29 2010 10:34 AM
2 replies to this topic
#1
Posted 29 March 2010 - 10:34 AM
|
|
|
#2
Posted 30 March 2010 - 07:20 AM
It depends on the details of HOW abc.exe accepts input and provides output.
#3
Posted 24 April 2012 - 03:18 AM
System::Diagnostics::Process^ process = gcnew System::Diagnostics::Process();
process->StartInfo->FileName = "Full Path of your abc.exe application";
process->StartInfo->Arguments = "Arguments that your to provide to your abc.exe";
process->Start();
/* if your abc.exe reads from standard input stream, use process->StandardInput property
* to write to the input-stream of the process.
*/
/* To read process output from standar output stream, use process->StandardOutput property
* to read from the output-stream of the process.
*/
process->StartInfo->FileName = "Full Path of your abc.exe application";
process->StartInfo->Arguments = "Arguments that your to provide to your abc.exe";
process->Start();
/* if your abc.exe reads from standard input stream, use process->StandardInput property
* to write to the input-stream of the process.
*/
/* To read process output from standar output stream, use process->StandardOutput property
* to read from the output-stream of the process.
*/
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top










