title: Interprocess communication between C# and C++
body: <p>I'm writing a bot for a game, which has a C++ API interface (ie. methods in a Cpp dll get called by the game when events occur, the dll can call back methods in the game to trigger actions).</p>
  
  <p>I don't really want to write my bot in C++, I'm a fairly experienced C# programmer but I have no C++ experience at all. So, the obvious solution is to use ipc to send event to a C# program, and send actions back to the C++ one, that way all I need to write in C++ is a basic framework for calling methods and sending events.</p>
  
  <p>What would be the best way to do this? Sample code would be greatly appreciated as I no have particular desire to learn C++ at this point!</p>