[wx 2.8, WinXP, VS2005]Application runs on dev machine but not on other WinXP machines

Knut P. Lehre knutpl at broadpark.no
Tue Feb 20 03:02:16 PST 2007


> "Jaded Hobo" <me at global.net> schrieb im Newsbeitrag 
> news:45d86e3d$0$326$e4fe514c at news.xs4all.nl...
>> When I run the wxWidgets 2.8 app I build using VisualStudio2005 on the 
>> developement machine it works fine, but if I take it to my target computer 
>> I get an error message saying "This application has failed to start 
>> because the application configuration is incorrect. Reinstalling the 
>> application may fix this problem".
>>
>> The message persists even after copying the dll's from "Microsoft Visual 
>> Studio 8\VC\redist\x86\Microsoft.VC80.CRT" to the system32 directory.
>>
>> I used to build the same app with MinGW and wxWidgets 2.4 and never 
>> encountered this phenomenon, is this because the VisualStudio build 
>> depends on dynamic DLL's while the MinGW build can use static runtime 
>> libraries? If so can I build wx 2.8 with VS to also use static runtime 
>> libraries, or do I need to distribute DLL's that I missed?
> 
> VC 2005 has this ugly manifests.
> Probably you forgot to say you have updated VC2005 to SP1.
> First you have to recompile the complete wx
> Then copy the redist files from
> C:\program files\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT
> to your application dir if you use x86 or take the resp. files
> Thats it.
> 
> I guess there is an error in the VS2005SP1 with the accepted manifests.
> Best, AO
> 

In VC2005 Express Edition there is no VC\redist folder. There is a
redist folder in the Program Files\Microsoft Platform SDK for Windows
Server 2003 R2, which you have to install in addition to the compiler.
However, that redist doesnt have an x86 folder, but there is a
readme.txt which points to
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdkredist.htm.
That address contains a lot of files to install the full psdk. It would
be more easy if the files could just be copied from the development
computer where the wx-app was built. Unfortunately, the message "This
application has failed to start because the application configuration is
incorrect. Reinstalling the application may fix this problem" does not
tell exactly which files are missing. Is there a way to tell?





More information about the wx-users mailing list