I create a new Win32 Console App as an empty project
I am running Windows 7 64bit with Visual Studio 2008 C++. I am trying to get the sample code from the bottom of this ar
I guess you are missing to link to the correct library.
Make sure you have the CUDA library added under "Configuration Properties->Linker->Input".
Refer this.