title: Using class functions from a dll
body: <p>I have two projects in Visual Studio 2010. One is a simple (win32) .exe project and the other is a DLL project.</p>
  
  <p>In the DLL project i created just has a simple class with just one method in it. I want to get access to this class and method from my EXE application. But i would like to access the class as if it were part of the EXE project it self, like:</p>
  
  <pre><code>CTest test = new CTest;
  test-&gt;TestMethod ( );
  </code></pre>
  
  <p>Is there a way to do this? Like releasing the header files of the DLL and add a reference to the DLL somewhere in the EXE project or something...??</p>