| | |
application configuration incorrect error
![]() |
•
•
Join Date: May 2007
Posts: 110
Reputation:
Solved Threads: 8
Hello everyone,
i have the following code
it compiles fine on my windows xp using microsoft visual c++ , and i can run the resultant executable file with no problems at all , but when i copy that executable file to another computer and try to run it i get an error that says "application failed to start because application configuration is incorrect".
help please.
i have the following code
cpp Syntax (Toggle Plain Text)
#include <iostream> #include <conio.h> using namespace std; int main() { cout<<"\nPress Any Key To Continue "; getch(); return 0; }
it compiles fine on my windows xp using microsoft visual c++ , and i can run the resultant executable file with no problems at all , but when i copy that executable file to another computer and try to run it i get an error that says "application failed to start because application configuration is incorrect".
help please.
What Operating System does you other computer have?
What happens if you take out the conio header and change it to:-
What happens if you take out the conio header and change it to:-
C++ Syntax (Toggle Plain Text)
#include <iostream> using namespace std; int main() { cin.get(); return 0; }
*Voted best profile in the world*
•
•
Join Date: May 2007
Posts: 110
Reputation:
Solved Threads: 8
•
•
•
•
What Operating System does you other computer have?
What happens if you take out the conio header and change it to:-
C++ Syntax (Toggle Plain Text)
#include <iostream> using namespace std; int main() { cin.get(); return 0; }
getch() The other things I can think of is that you might be using the dubug exe, as opposed to the release exe.
•
•
•
•
All program examples in [...] are built in Debug mode. To create a Release Mode version we have to change the Visual C++ project to a Release Mode. After rebuilding the program, the executable should be portable on Windows machine.
Last edited by iamthwee; Jan 13th, 2008 at 5:40 am.
*Voted best profile in the world*
What version of studio is it?
Make sure it doens't need the dotnet framework. I have never used visual c++ so I don't know.
This is why I like dev-cpp.
http://www.bloodshed.net/devcpp.html
I have no problems, and the exe generated is good to go on any windows machine.
Make sure it doens't need the dotnet framework. I have never used visual c++ so I don't know.
This is why I like dev-cpp.
http://www.bloodshed.net/devcpp.html
I have no problems, and the exe generated is good to go on any windows machine.
Last edited by iamthwee; Jan 13th, 2008 at 7:38 am.
*Voted best profile in the world*
•
•
Join Date: Dec 2006
Posts: 1,109
Reputation:
Solved Threads: 169
> but when i copy that executable file to another computer and try to run it i get an error
> that says "application failed to start because application configuration is incorrect".
you also need to copy the manifest file created when linking the application. (the manifest file contains information about the application's dependencies such as the runtime libraries.) the manifest file needs to be copied into the same location as the executable image (.exe).
> that says "application failed to start because application configuration is incorrect".
you also need to copy the manifest file created when linking the application. (the manifest file contains information about the application's dependencies such as the runtime libraries.) the manifest file needs to be copied into the same location as the executable image (.exe).
•
•
Join Date: May 2007
Posts: 110
Reputation:
Solved Threads: 8
•
•
•
•
> but when i copy that executable file to another computer and try to run it i get an error
> that says "application failed to start because application configuration is incorrect".
you also need to copy the manifest file created when linking the application. (the manifest file contains information about the application's dependencies such as the runtime libraries.) the manifest file needs to be copied into the same location as the executable image (.exe).
![]() |
Similar Threads
- Sony Vaio Fn key problem (USB Devices and other Peripherals)
- Simple ASP.Net Login Page using C# (C#)
- memory management in wndows 2000 (Windows NT / 2000 / XP)
- Visual C++ 08 Express compiling issues... (C++)
- Visual Studio 2005 problem (C)
- Getting a VC++ Express.NET app to work on other machines (C++)
- Neophyte requests assistance... (C++)
- Boot Disks (Viruses, Spyware and other Nasties)
- Login used to work (ASP.NET)
- WMP Internal application error ha occured (Windows NT / 2000 / XP)
Other Threads in the C++ Forum
- Previous Thread: MATRIX algebra pracice problem solved
- Next Thread: Array of words
Views: 8446 | Replies: 16
| Thread Tools | Search this Thread |
Tag cloud for C++
algorithm api array arrays assignment beginner binary browser c++ c++borland c/c++ calculator char class classes code compile compiler constructor conversion convert count data delete desktop display dll dynamic encryption error file files form fstream function functions game givemetehcodez graph gui homework i/o iamthwee input int integer lazy library linker list loop loops map math matrix member memory newbie news number object objects opengl output parameter pointer pointers problem program programming project random read recursion recursive reference return sort sorting spoonfeeding string strings struct student studio template templates text time tree undefined variable vc++ vector video visual win32 window windows winsock






