I'm calling a c++ project from c# , the process is like this , i enter some numbers in a textbox and when i push a button it calls a c++.exe program and run it with the numbers i've inserted in texbox ,after this return the result in another textbox.
The problem is that i don't know how to modify in cpp I/O code to read from textbox,that's all i need .
AbaianitCristian
0
Newbie Poster
Recommended Answers
Jump to PostHow are you calling the C++ program? Is it C++/CLI and a .NET assembly or are you using COM? Or are you just calling a program that happens to be written in C++?
Jump to PostI moved this thread to C# because the fact that the process you're running is written in C++ is completely irrelevant to the question. I'm not familiar with ProcessStartInfo.RedirectStandardOutput, so I'll defer to others on whether you're using it correctly.
All 8 Replies
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
AbaianitCristian
0
Newbie Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
AbaianitCristian
0
Newbie Poster
deceptikon
1,790
Code Sniper
Team Colleague
Featured Poster
AbaianitCristian
0
Newbie Poster
dancks
4
Light Poster
BobS0327
24
Junior Poster in Training
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.