The "Active solution platform" in your configuration manager should be set to "x64" (see attached screenshot). Moreover, when doing "Build->Rebuild Solution" the output should start with something like
------ Build started: Project: <your project>, Configuration: Debug x64
(or Release x64). I am not a Windows expert but I also found the dumpbin utility helpful in cases like this.
dumpbin /headers Main.obj
should tell you that the file is for a 64bit machine and
dumpbin /symbols Main.obj
should only list __imp_ symbols without trailing @N.
Finally, the build log file should indicate that you were using a 64bit compiler. The default location of the build log file is $(IntDir)\$(MSBuildProjectname).log (see Project->Properties->Configuration Properties->General->Build Log File). Maybe you can clean your solution, rebuild it and then show the build log here.
#CPLEXOptimizers#DecisionOptimization