I have written an MFC application with Visual Studio 2005 (C++). I use 4 dlls
wich have been statical bound to the project (no dynamic loading). All things
compile fine and on every PC where i have installed Visual Studio, it is working
as release or debug version.
But when i try the application on Windows XP without Visual Studio installed on it,
the application does not start but brings me a error MessageBox and thats it.
The error that is shown is:
"The Application could not start, because the application configuration is not correct.
You have to install the programm again."
What does that mean How can i get my application to work on every PC
Thx for your helps in advance!

Application does only start on PC with installed Visual Studio
Mark_Scott
search for "applocal" in this forum - it's as simple as copying folders to your program folder (as Microsoft.VC80.* subfolders). Example: see:
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=156718&SiteID=1
james bond
Well, i have already read that stuff and yes, when using static binding, all works fine.
But why does the dll version not work.
I wanted to redistribute the project as private. I followed the description from
Troubleshooting C/C++ Isolated Applications and Side-by-side Assemblies.
Settings for my dll that i use is:
- MFC in Shared DLL
- No ATL
- Multi-threaded Debug DLL
Comping fine and working fine on the PC with VS2005.
When i now bring the application with all dlls to an other PC where
VS2005 is not installed, it does not work. I was able to find out with
the dependency walker, that my dll is hooked successfully, but then,
when my dll will start to load mfc80.dll it will not find it, although it is
in the same folder like the appliction.
The documenation says something about the manifest, that it shall be also
in the folder, but which manifest is that where can i find it
It was really not clear, how this has to be made, to make it work!!
wayne77
See http://msdn2.microsoft.com/en-us/library/ms235624 for info on deploying applications. You might also try compiling cl /MT to use static linking instead of dlls.
Thanks, Ayman Shoukry VC++ Team