[gameprogrammer] Re: problem deploying app

On Thu, Mar 22, 2007 at 08:22:13AM -0500, Roger D Vargas wrote:

> Im trying to test my application in another PC. I compiled it in VC 
> Express 2005 and copied all needed DLLs (at least, the ones I know). I 
> thought that the system would ask for the missing ones, but I have found 
> that in WinXP I always got an error: Incorrect configuration. In Win2k 
> it asks for the missing DLLS. I have tested before in my 2 development 
> workstations with Win 2k and XP.
> Windows is not my speciality, so I have no idea about whats happening. 
> How can I solve this without having to install VC in all PCs?

My buddy came across this problem a year ago.  I worked with him on
solving it but unfortunately, I cannot remember all the details.

The problem is that since vs8 it's no longer sufficient to drop all the
necessary .dll's into the directory where the executable is.  .exe's and
.dll's now have manifests that specify what .dll's an .exe needs and
which versions.  It's supposed to solve the DLL hell but I suspect that
it just sort of creates a different kind of it.

To solve the problem, you need to have vs8 redist CRT libraries along
with their manifest files (and perhaps so called "policies") under
\WINDOWS\WinSxS directory.  What's the correct way of achieving this, I
don't know.  Perhaps try searching for "manifest" of "WinSxS" on google
or M$ knowledge base.

        latimerius


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: