1

I am trying to pass data between c# (winforms) program using a c++ (win32) program (both programs are local).

The flow is that the c++ program spawns the winform (via CreateProcess()), and then continues to send data via the pipe continuously to the spawned program.

Following this 1, I am able to create a pipe on the win32 program, however I have no idea on how to capture the information transmitted by the pipe within the .NET framework.

Can someone point me to an example on how to do it?

Community
  • 1
  • 1
John Tan
  • 1,331
  • 1
  • 19
  • 35
  • `NamedPipeClientStream` class can help you. http://stackoverflow.com/questions/10740479/two-way-c-to-c-sharp-communication-using-named-pipes – AlexStepanov Nov 13 '15 at 07:30

0 Answers0