I'm supposed to modify some C++ codes created by another guy. He sent me all the .cpp and .hpp files (including a "Main.cpp" and other "x.cpp" with "x.hpp"). He said he could use them to create a .DLL file.

I tried creating a new project --- Win 32 Dynamic Link Library --- an empty dll project. Then I added all the .cpp to "source files" folder and all the .hpp to "header files" folder. But then when I hit "build" it shows lots of "fatal errors".

Can anyone tell me whether I've done things wrong? Thanks a lot!

Very difficult to say much without knowing more about those errors .. so you might post them.