when im creating a dll i follow this steps, and dont get any errors:

open vc++ 2008 xpress-> click project(next to create)->select win32 from left->select win32 project->Enter a name->ok->click next->chose dll->Click finish

then add other headers/spurces to the project


3333333333