title: creating a DLL in Visual Studio 2005
body: <p>I am developing a C++ library that I want to pass on to my team. The library has just one class with a bunch of methods. </p>
  
  <p>So, I have developed the class definition file (X.cpp) and a corresponding class declaration file (X.h). </p>
  
  <p>Here are my questions --</p>
  
  <ol>
  <li><p>In Visual Studio 2005, whats is the most straight forward way to build this library as a DLL, such that I get the following files:
  X.lib : which I can pass to my team so they can link against my library
  X.dll : which I can pass to my team for run-time</p></li>
  <li><p>Instead of a DLL, should I rather be going the static library way ?? If so, how do I go about doing this in Visual Studio 2005 &amp; will this give me a X.lib file that I can pass on to my team ?</p></li>
  </ol>
  
  <p>Any explanations or references are very welcome.</p>
  
  <p>Thank you very much.</p>