开发者

Running a C/C++ console application inside a C# windowed one?

Right now, I want to develop a simple application, so I decided that the fastest way to code would be C#.NET, but right now, I'm having a hard time to implement one of the featu开发者_如何学运维res I need.

What I'm trying to do, is to run a C/C++ console application inside the window of my C# application, like in Unreal Frontend with the little addition of to way communication, so that I can give the console application input for scanf() and std::sin. And what control should I user to display and get the data?

Can anyone point me into the right direction?


Start the C++ process using the Process class, and use Process.StandardOutput and Process.StandardInput to pass data back and forth.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜