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

Andreas Oppermann Andreas-Oppermann at oss-gmbh.de
Sun Feb 18 13:29:01 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








More information about the wx-users mailing list