title: Building Proxy/Stub dll in VS 2008
body: <p>I have a ATL COM project migrated from VC6 to VS 2008. How do I build the PS DLL on VS2008?</p>
  
  <p>New ATL projects in VS 2008 have a separate PS project which builds the PS DLL. But the migration from VC6 did not create this project.</p>
  
  <p>I tried to invoke nmake on the PS mk file but that gives a redefinition error for an enum type that exists in both our source file as well as an automatically included windows header file. In the solution we fixed this by defining the <code>WIN32_LEAN_AND_MEAN</code> preprocessor which excludes unnecessary header files. Can I do the same while using nmake?</p>
  
  <p>Is there any other way of creating the PS DLL?</p>