0

I've found code examples where one is opening an exe from C#, and passing in args, but after it's launched, how do we keep interacting with it, like send in commands and get a response back?

tshepang
  • 10,772
  • 21
  • 84
  • 127
David
  • 111
  • 3
  • 5
  • possible duplicate of [IPC Mechanisms in C# - Usage and Best Practices..](http://stackoverflow.com/questions/56121/ipc-mechanisms-in-c-usage-and-best-practices) – GolezTrol May 29 '11 at 00:08
  • How do you want to get the response back? To display or ?? – CharithJ May 29 '11 at 00:14

1 Answers1

0

There are numerous ways to achieve inter-process communication (IPC). I've actually found some here.

Community
  • 1
  • 1
GolezTrol
  • 109,399
  • 12
  • 170
  • 196
  • I was almost thinking WCF could be a choice but wasn't sure how to use it in this context. I'll do some reading on IPC. THanks much – David May 29 '11 at 00:51
  • Well, I decided to just create a C++ wrapper dll for the C++ console app, and simply call the wrapper from my WPF app. All is good. Thanks much for the tips though on the IPC. – David May 29 '11 at 02:49