title: Calling C# code from C++, but ExecuteInDefaultAppDomain() is too limited
body: <p>I need to be able to invoke arbitrary C# functions from C++. <em><a href="http://www.infoq.com/articles/in-process-java-net-integration" rel="nofollow noreferrer">In-process Interoperability</a></em> suggests using ICLRRuntimeHost::ExecuteInDefaultAppDomain(), but this only allows me to invoke methods having this format: <code>int method(string arg)</code></p>
  <p>What is the best way to invoke arbitrary C# functions?</p>