title: Calling C# method from C++ code in WP8
body: <p>I'm interested in calling a C# method from C++ code in Windows Phone 8.  I have already learned how to pass a callback function to C++ code from C# via delegate declarations in my C++ code, but I am looking to see if I can do any of the following:</p>
  
  <ul>
  <li><p>Call certain methods directly from the C++ code.  This would involve somehow inspecting the C# object makeup from C++, and seems unlikely to me, but I thought I'd ask you all anyway</p></li>
  <li><p>Trigger events in the C# code, which can then be handled by C# methods</p></li>
  <li><p>Use a dispatcher to call C# callbacks in the Main UI thread so that the callbacks can modify UI elements</p></li>
  <li><p>Use a dispatcher to trigger events in the C# code, (Essentially a merging of the above two points)</p></li>
  </ul>
  
  <p>In short, I am looking for as many C++ -->C# communication tips as you guys can throw me, I want to learn it all.  :)</p>