From: bob on
When I try my program out on Windows XP, I get this error:

---------------------------

This application has failed to start because the application
configuration is incorrect. Reinstalling the application may fix this
problem.

---------------------------
OK
---------------------------

Any ideas on what might cause this?

It works on other Win 2k systems if I include msvsp80.dll and
msvcr80.dll.

From: bob on
sorry, that should be msvcp80.dll, not msvsp80.dll

From: Abdo Haji-Ali on
Make sure that your "application.exe.config" fields matches those in your
project properties...

--
Abdo Haji-Ali
Programmer
In|Framez

<bob(a)coolgroups.com> wrote in message
news:1138211769.733856.160140(a)g49g2000cwa.googlegroups.com...
> When I try my program out on Windows XP, I get this error:
>
> ---------------------------
>
> This application has failed to start because the application
> configuration is incorrect. Reinstalling the application may fix this
> problem.
>
> ---------------------------
> OK
> ---------------------------
>
> Any ideas on what might cause this?
>
> It works on other Win 2k systems if I include msvsp80.dll and
> msvcr80.dll.
>


From: Abdo Haji-Ali on
Sorry, I meant "application.exe.MANIFEST" file...

--
Abdo Haji-Ali
Programmer
In|Framez

"Abdo Haji-Ali" <ahali(a)inframez.org_use_com_instead> wrote in message
news:el4a0veIGHA.2472(a)TK2MSFTNGP10.phx.gbl...
> Make sure that your "application.exe.config" fields matches those in your
> project properties...
>
> --
> Abdo Haji-Ali
> Programmer
> In|Framez
>
> <bob(a)coolgroups.com> wrote in message
> news:1138211769.733856.160140(a)g49g2000cwa.googlegroups.com...
>> When I try my program out on Windows XP, I get this error:
>>
>> ---------------------------
>>
>> This application has failed to start because the application
>> configuration is incorrect. Reinstalling the application may fix this
>> problem.
>>
>> ---------------------------
>> OK
>> ---------------------------
>>
>> Any ideas on what might cause this?
>>
>> It works on other Win 2k systems if I include msvsp80.dll and
>> msvcr80.dll.
>>
>
>


From: Jochen Kalmbach [MVP] on
Hi bob!
> When I try my program out on Windows XP, I get this error:
>
> ---------------------------
>
> This application has failed to start because the application
> configuration is incorrect. Reinstalling the application may fix this
> problem.

You need either:
- Install the CRT/MFC/ATL DLLs in the target system
- Statically link against the CRT/MFC/ATL
- Put the CRT/MFC/ATL DLLs into the same dir as your EXE *AND* put the
manifest for these DLLs into the same dir (see:
http://www.codeproject.com/cpp/vcredists_x86.asp)

For *all* DLL useage you have to have the correct manifest embedded into
your EXE (is normally done automatically by VS2005)

--
Greetings
Jochen

My blog about Win32 and .NET
http://blog.kalmbachnet.de/