Maybe this is the problem! Which version of Visual studio do you use? You can't compile you application under the x64 profile in the express editions. And if you use a pro version, your project configuration needs to be x64, too.
I've got a x64 CPU, too, but because of my Express edition I can't compile anything for x64.