Why did you start from a empty project? Why not from a Win32 one?
Besides, your problem is more related to the C++ and WinAPI Forum (which "Discuss Windows API related issues using C++ (and Visual...