Console App won't run, getting error about "application configuration is incorrect"
Hello,
I have a console app created using C++ 2005 Express. I now need to copy it to another machine to use it but it won't run. I have already copied the msvcr80.dll in with the executable but still does not work. I have also try copying in the manifest but this has no effect. What do I need to do to get my console app to run on another machine?
Thank you for your help,
The error message is "The application has failed to start because the "application configuration is incorrect". Reinstalling the application may fix this problem"
Could there be something wrong with the manifest?
Here is some more background. I had originally developed the console app in Beta 2. I recently uninstalled it and installed the final version. I noticed that the manifest that is created still has an old version number (i.e. 8.0.50608.0) in it. How can I get it to output the new version number (i.e. 8.0.50727.42). I currently have copied the new version of the dll. I have tried editing the manifest but it does not help. I really don't want to use the beta version anymore so what can I do?
See below for my manifest as created by VS C++ 2005
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50608.0' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>
Is it possible in VC++ EE to create a simple Hello World console application
(i.e. a .exe file) that does not require the installation of other stuff?
It seems to me that this is not possible in this free product.
What about the commercial product? When I install a Windows program, they
tend to have a lot of auxiliary files and stuff and was wondering if this was
inherent in the platform.