If you are using Visual Studio, it is just a matter of setting the linker to create code for the 64-bit processor.
Open the project properties and select Configuration properties | Linker | Advancedand switch Target Machineto MachineX64.
Alternatively, you can add a new build platform, the IDE will configure these options for you. Open Configuration Manager, select your project, and in the Platform column, select <New...>. Then select a 64-bit processor.
source
share