On Sun, May 2, 2010 at 4:41 PM, Jonathan Welch <jhwe...@gmail.com> wrote: > I've compiled SG 1.4 on Windows XP SP2, first with VC 2005 Express > Edition and then with SP1 installed. > > When I try to start the program, either from a link or from within VC, > I get an error: > This application has failed to start because the application > configuration is incorrect. Reinstalling the application may fix this > problem.
Welcome to winSxS dll hell > > None of this has worked. If anyone has some idea of how to fix this I > would be very happy to hear of it. Is there something wrong with a > manifest file? yes, quick and simple way, if you are running on your own PC only and not distributing, delete any *local* copies of msvcrt.dll and its friend, eg the ones in your build tree. Delete the .config file too that does binding redirects and ensure you have the latest version 8.0.50727.4053 of the CRT installed on your PC, this is ONLY available as a security upgrade from http://www.microsoft.com/downloads/details.aspx?familyid=766a6af7-ec73-40ff-b072-9112bab119c2&displaylang=en That does work. If you need to distribute to others in a setup.exe you really should send them the redist.exe first and ship your installer without the mscrt dlls, it is very very wrong to ship winSxS assemblies as private dlls, and there is even a comment to this effect in the LL python code. What should happen is the dlls should be registered with the installer COM system and that worries about the stashing away of these dlls in to windows\WinSxS\* but the story gets worse here, on XP the API is not officially documented, the vista documentation appears to work fine and i've even once crafted an Nullsoft installer to install these dlls in to the SxS cache, (Windows Installer does this kind of install with out fuss, as it can already talk to the trusted installer service), and as of Visual Studio 2010 MS have gone back to the standard windows\System32\ place to install the C runtimes. ;-/ Fun eh? Robin _______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/OpenSource-Dev Please read the policies before posting to keep unmoderated posting privileges