title: Wrap VC++ Static Library in a DLL to use with .Net Managed Assemblies
body: <p>I have some source that can compile with MINGW gcc or with VC++ (but isn't in a VS project, it has a makefile that is read by nmake). I compile with nmake and it produces a static lib and I would like to compile the code as a DLL to use with my managed assemblies.</p>
  
  <p>Is it trivial to alter the makefile to output a DLL instead of the static? Or do I need to somehow wrap the static lib in a DLL? I apologize because I'm sure this has been answered before but I've never had to do this before and not sure where to start reading. I'm not finding what I think I need on SO either, even though it's most likely asked/answered already.</p>