Uh, I'd say make sure your project matches what you're compiling to. ie, MSVC is going to complain if your project is set to Console Application but you have a WinMain() instead of main(). Likewise,...