Note that there are some explanatory texts on larger screens.

plurals
  1. POSide by side madness - running binaries on the same computer
    text
    copied!<p>Here's my configuration:</p> <ul> <li>Computer A - Windows 7, MS Visual Studio 2005 patched for Win7 compatibility (8.0.50727.867)</li> <li>Computer B - Windows XP SP2, MS Visual Studio 2005 installed (8.0.50727.42)</li> </ul> <p>My project has some external dependencies (prebuilt DLLs - either build on <strong>A</strong> or downloaded from the Internet), a couple of DLLs built from sources and one executable. I am mostly developing on <strong>A</strong> and all is fine there. At some point I try to build my project on computer <strong>B</strong>, copying the prebuilt DLLs to the output folder. Everything builds fine, but trying to start my application I get </p> <blockquote> <p>The application failed to initialize properly (0xc0150002).... </p> </blockquote> <p>The event log contains two of those:</p> <blockquote> <p>Dependent Assembly Microsoft.VC80.CRT could not be found and Last Error was The referenced assembly is not installed on your system. </p> </blockquote> <p>plus the slightly more amusing </p> <blockquote> <p>Generate Activation Context failed for some.dll. Reference error message: The operation completed successfully.</p> </blockquote> <p>At this point I'm trying my Google-Fu, but in vain - virtually all hits are about running binaries on machines <em>without</em> Visual Studio installed. In my case, however, the executables fail to run on the computer they are built.</p> <p>Next step was to try dependency walker and it baffled me even more - my DLLs built from sources on the same box cannot find <code>MSVCR80.DLL</code> and <code>MSVCP80.DLL</code>, however the executable seems to be alright in respect to those two DLLs i.e. when I open the executable with dependency walker it shows that the <code>MSVC?80.DLL</code>s can be found, but when I open one of my DLLs it says they cannot. That's where I am completely out of ideas what to do so I'm asking you, dear stackoverflow :)</p> <p>I admit I'm a bit blurry on the whole side-by-side thing, so general reading on the topic will also be appreciated. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload