avatar
可执行程序问题# Programming - 葵花宝典
z*y
1
I compile one program written in C++ using Visual Studio 2005 on XP. It runs
OK. Then I copy the executable onto another XP machine and run it. I get
the following error.
This application has failed to start because the application configuration
is incorrect. Reinstalling the application may fix this problem.
What could it be? Thank you.
avatar
a*a
2
check the thread starting from #12084. It might help.

runs

【在 z*y 的大作中提到】
: I compile one program written in C++ using Visual Studio 2005 on XP. It runs
: OK. Then I copy the executable onto another XP machine and run it. I get
: the following error.
: This application has failed to start because the application configuration
: is incorrect. Reinstalling the application may fix this problem.
: What could it be? Thank you.

avatar
d*z
3
It seems you need some DLL like MFC8.0.dll in the other XP machine.
You could install VC in the other machine too. Or you could copy those corre
spondent dll into the machine or you could create a setup file (VS2005 has s
upport setup project) and install it in the other machine

runs

【在 z*y 的大作中提到】
: I compile one program written in C++ using Visual Studio 2005 on XP. It runs
: OK. Then I copy the executable onto another XP machine and run it. I get
: the following error.
: This application has failed to start because the application configuration
: is incorrect. Reinstalling the application may fix this problem.
: What could it be? Thank you.

avatar
c*l
4
have u succeeded? Any update?

runs

【在 z*y 的大作中提到】
: I compile one program written in C++ using Visual Studio 2005 on XP. It runs
: OK. Then I copy the executable onto another XP machine and run it. I get
: the following error.
: This application has failed to start because the application configuration
: is incorrect. Reinstalling the application may fix this problem.
: What could it be? Thank you.

avatar
z*y
5

No, I basically give up. It is not dll problem. I am pretty sure because I
tried several XP machines. All of them have nothing pre-installed (like
visual studio). Some of them can run without any problem, but some has this
error. Hard to tell what makes them unhappy. Anyway, don't have time to
waste hacking around.

【在 c**l 的大作中提到】
: have u succeeded? Any update?
:
: runs

avatar
t*i
6
Alternate VS2005 options such as Windows Library, MSDN Static Library and
MSDN Dynamic library and see what you get.
avatar
n*a
7
you need to install Visual Stuido 2005 Redistributable with your executable
avatar
c*l
8
Hi, there,
I just got it work. Here are some problems and solutions: (if they don't
work out, go to download a dependency walker to check any errors)
1. go to /VC/redist to copy relevant .dll files along
with any corresponding .manifest files to your excutable file folder
2. right click solution, ->Manifest tolls -> input and output ->turn off
Embed Manifest.
3. in other machines, if you installed IE7.0 on WINXP, uninstall IE7.0 or
fake a empty dwmapi.dll (numerous complains

【在 z*y 的大作中提到】
:
: No, I basically give up. It is not dll problem. I am pretty sure because I
: tried several XP machines. All of them have nothing pre-installed (like
: visual studio). Some of them can run without any problem, but some has this
: error. Hard to tell what makes them unhappy. Anyway, don't have time to
: waste hacking around.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。