visual-studio-2005 - 并行程序集、Windows 7 和 Visual Studio 2005

标签 visual-studio-2005 windows-7 windows-xp side-by-side

我有一台安装了 Visual Studio 2005 SP1 的 Windows 7 机器。使用它,我构建了一个应用程序,该应用程序在运行时加载一个 DLL,该 DLL 使用 VS2005 SP1 但在 Windows XP 上编译。这失败了,并出现以下错误:

"...\foo.dll": The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.



加载的 DLL 是针对调试 CRT 编译的。 this question的答案提示 vcredist_x86.exe 仅包含 CRT 的发布版本。我不确定这在这种情况下是否相关,因为我的机器和编译 DLL 的机器都安装了完整的 VS2005 SP1。

我是否应该尝试在 Windows 7 上重建 DLL(我不想这样做),这是否会导致 DLL 在 Windows XP 机器上无法使用?

最佳答案

问题解决了。问题是 Windows 7 机器没有 KB971090安装在构建 DLL 的 Windows XP 机器上的更新。我必须明确告诉 Windows 更新我想要接收非 Windows 更新才能安装更新。

关于visual-studio-2005 - 并行程序集、Windows 7 和 Visual Studio 2005,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1372604/

相关文章:

linux - 通过 WinXP 上的 MTP - 数码相机而不是可移植设备

c# - 从对象列表到具有两个属性的字典的优雅方式

winforms - 在 Visual Studio 2005 中使用包含单词 "update"的程序集名称

delphi - 16 字节边界上手动修复 sse2 数据对齐的替代方法

c++ - undefined reference .. - mingw - winxp - eclipse juno

crash - 哪种崩溃会在​​ Windows XP 上产生应用程序错误(又名应用程序弹出窗口)?

visual-studio-2005 - Bootstrap : How to compile the application and prerequisite in single . msi 包?

c++ - 类导出错误(错误 C2470 : looks like a function definition)

c++ - 如何制作克隆或扩展模式

c++ - 在 Windows 7 中管理应用程序音量