Unable to start program... I try to run my application in 64 bits
Hi,
I have installed Windows server 2003 standard x64 and I am trying to migrate my application in 32 bits to 64bits (win32 to x64 plataform). I get compile and link the application but when I start debugging I get this message error:
"
Unable to start program 'C:\.....EXE'
This application has failed to start because the application configuration is incorrect. Review the manifest file for possible errors. Reinstalling the application may fix this problem. For more details, please see the application event log.
"
Re: Unable to start program... I try to run my application in 64 bits
Thanks for the replys.
This is the info of my Visual Studio 2005:
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727 SP2
Installed Edition: Professional
...
Microsoft Visual C++ 2005 77626-009-0000007-41004
Microsoft Visual C++ 2005
...
Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005
Microsoft Visual Studio 2005 Professional Edition - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Professional Edition - ENU.
Where is this option (Manifest)?
If I go to project-properties-linker-manifest file, I can see the options generate Manifest (yes), Manifest file... etc.
If I modify MyApplication.exe.embed.manifest then the application links again and generate the same manifest that I have pasted.
Re: Unable to start program... I try to run my application in 64 bits
I'm guessing here, but what it sounds like you've done is take a project file and it's definition, which was originally started out as win32, and tried to change THAT project to output x64?
It's easier, literally, to start a new (empty) project FOR x64, then simply add your source files into that (now 64 bit configuration) into it.
Then, everything else is "set" right.
If my post was interesting or helpful, perhaps you would consider clicking the 'rate this post' to let me know (middle icon of the group in the upper right of the post).
Re: Unable to start program... I try to run my application in 64 bits
Yes I am tacking one project started with plattform win32 and I want add the possibility to compile with plattform x64, therfore I can't start a new empty project, because I want that the project run in win32 if the programmer choose win32 plattform or run in x64 if programmer choose x64 plattform.
I will try to start a new empty project in x64 (only a easy project"hello world" project), and I will try to run this project, I will try this to comprove if I have the correct configuration (windows, Visual c++2005, and the project configuration).
Re: Unable to start program... I try to run my application in 64 bits
You can do this by adding multiple targets to a project, or multiple projects to a solution.
It depends simply on how you want to configure the IDE.
Two projects that depend on the same source code are not much different than one project with multiple target configurations, except that it's simpler to determine selective CPP or library includes with multiple projects.
It can also be simpler to start a different configuration as a new project within a solution that attempting to create a new configuration within the same project.
Last edited by JVene; June 21st, 2009 at 03:15 PM.
If my post was interesting or helpful, perhaps you would consider clicking the 'rate this post' to let me know (middle icon of the group in the upper right of the post).
This line was inserted by code in one .cpp of my application to solve a past error, if I comment or delete this line the application run (with other errors for 32 bits dlls but I can see that the application start).
Bookmarks