What would be the best way to communicate between a C and a C# process. I need to send messages containing commands and params and such from the C# process. to the C process. and the C process then has to be able to send reply's.
I start the C process in the C# process.
What would be the best way to achieve this? I tried using stdin and stdout but this doesn't work well (for some reason the stdin of the C process is spammed with some string (x(U+266C)Q) (U+266C is a UTF8 beamed sixteen note)