For Programmers: Free Programming Magazines  


Home > Archive > VC Language > January 2006 > xp error









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author xp error
bob@coolgroups.com

2006-01-25, 7:23 pm

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.

bob@coolgroups.com

2006-01-25, 7:23 pm

sorry, that should be msvcp80.dll, not msvsp80.dll

Abdo Haji-Ali

2006-01-25, 7:23 pm

Make sure that your "application.exe.config" fields matches those in your
project properties...

--
Abdo Haji-Ali
Programmer
In|Framez

<bob@groups.com> wrote in message
news:1138211769.733856.160140@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.
>



Abdo Haji-Ali

2006-01-25, 7:23 pm

Sorry, I meant "application.exe.MANIFEST" file...

--
Abdo Haji-Ali
Programmer
In|Framez

"Abdo Haji-Ali" <ahali@inframez.org_use_com_instead> wrote in message
news:el4a0veIGHA.2472@TK2MSFTNGP10.phx.gbl...
> Make sure that your "application.exe.config" fields matches those in your
> project properties...
>
> --
> Abdo Haji-Ali
> Programmer
> In|Framez
>
> <bob@groups.com> wrote in message
> news:1138211769.733856.160140@g49g2000cwa.googlegroups.com...
>
>



Jochen Kalmbach [MVP]

2006-01-25, 7:23 pm

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/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com