Installing a 64-bit operating system is not a necessary condition for compiling 64-bit programs. The key is to install the 64-bit program compiler.
1. Select "build"-"Configuration Manager" to open the Configuration Manager. Click Create solution platform.
2. Select the "x64" platform and click "OK.
3. At this time, the platform in the Configuration Manager has been changed to the selected x64. At this time, the 64-bit program is compiled. You can quickly switch to the target platform in the platform drop-down box on the toolbar.
Note: When a project calls the DLL of another project, the number of digits must be the same, that is, the project must be compiled to 64-bit, And the DLL must also be compiled to 64-bit. If the project is to be compiled into 32 bits, the DLL must also be compiled into 32 bits.
This is also true for secondary development.