Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC8.0 MFC VC9.0
Hello ,
I am trying to create a simple Dialog based VC++ application (not .net)and run it.
I have a 32 bit machine (XPsp2) VS 2005 with X64 compiler.
I want to build the application so as to target on 64 bit machine.
I selected the x64 in configuration manager.
The build go fine but what i get as output is not an ".exe" but an "exe.intermediate.manifest". I would like to know how it can be used in a 64 bit machine.
I need to have a 64 bit build so that it works in 64 bit machine as a 64 bit application. But my development PC is a 32 bit.
The problem i have now is that though the build goes fine i do not get an EXE i get the manifest file .
Is there some thing extra which i have to do in the project settings? Or is there some post build steps which will convert this manifest file to a valid exe?
Can some one guide me on how to create 64 bit build on a 32 bit machine in VC++
WBR,
Sourabh
Posted 5-Jan-10 22:33pm
Edited 6-Jan-10 17:34pm
v3
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

As Christian said, that is not the final output file.
You probably have a build error or you're looking in the wrong place for the output file.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Yes I was looking in the wrong path. Now i got the exe. Any how i would like to mention the steps i did as it may help some one else.
 
1)Get the Visual Studio 64 bit components installed in you machine
2)Select menu Build->Configuration Manager
In the dialog displayed in the Active solution platform combo box select X64 if it is available[it will be available only if you have already created it]. If it is not there in the list select new from the combo and in the New solution platform dialog displayed in the type or select new platform select a 64 bit platform (X64 in my case) . You can choose form which platform you want to copy the settings for the new platform.
3)Now for your project select the 64 bit platform created and build your application. Make sure that the out put path is set properly Smile | :) (Project property pages->Configuration properties->General->Out put Directory)
4)If you are upgrading you 32 bit application to a 64 bit application you may end up in having having many liner & compilation error.
The dependencies of you project also should be in 64 bit version.
Make sure that you have mentioned all the paths to the appropriate folders. In the Tools ->Options->Project and solutions VC++ directories , in platform combo box select the new platform created and make sure that all the paths are mentioned properly in it.
And also make sure that in project properties if there are any additional dependencies or additional include directories specified make sure that they are proper.
For windows message handlers you may get compiler errors as the signature for them will have to be changed according to the new signature for them in VC++.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Why do you need a 64 bit build ? If you build a 32 bit build, it will work on 64 bit. The manifest is also needed, but if you have no exe, and it's not going somewhere else, then your build is failing. The manifest goes WITH the exe, it is NOT the exe.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 11 Jan 2010
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100