title: Call C++ functions from C#/.NET
body: <p>I have a solution which has a C++ project and a C# project.</p>
  
  <p>The C++ project defines a class, which I want to instantiate in C# and call its member functions. So far I managed to instantiate the class:</p>
  
  <pre><code>CFoo Bar = new CFoo();
  </code></pre>
  
  <p>But when I try to call a function on it, the compiler says, it is not available.</p>
  
  <p>Also, when I inspect the object in the debugger, no members are shown.</p>
  
  <p>What am I missing here?</p>