at first you made a win32 project with dos template, which uses dos version of linker.
create new empty win32 project, and paste there this code:
++++++++++++++++
also, if you see while building the errors kinda "can not find file" check if you did all written in
Programming Quick Start