Side by side builds, Windows 7 and Visual Studio 2005

I have a Windows 7 machine installed with Visual Studio 2005 SP1 installed. Using this, I create an application that loads the runtime DLL compiled with VS2005 SP1, but on Windows XP. This does not work with the following error:

"... \ foo.dll": the application did not start because its side-by-side configuration is incorrect. Please view the application event log or use the sxstrace.exe command line tool for more details.

A loaded DLL compiles against a debugging CRT. The answer to this question suggests that vcredist_x86.exe contains only CRT release versions. I am not sure that this is relevant in this case, since both my machine and the machine on which the DLL was compiled have a complete set of VS2005 SP1.

Should I try to repair the DLL in Windows 7 (I would prefer not to), and this will cause the DLL to become unusable on a computer running Windows XP?

+4
source share
1 answer

The problem is resolved. The problem was that on a computer with Windows 7 there was no update KB971090 that was installed on a computer running Windows XP that built the DLLs. I needed to explicitly tell Windows Update that I want to receive non-Windows updates in order to be able to install the update.

+2
source

All Articles