Create a Win32 Project (not MFC) and choose DLL on the next step. Leave the "Add common header files for MFC" tick unchecked. To assemble everything:

Vs2005->New->Project

Win32->Win32 Project

On the Wizard, Application Settings, choose DLL radio box, hit finish.