无法在现代Windows上启动Visual Studio 2008 dll

问题描述 投票:0回答:1

我有一个由Visual Studio 2008构建的dll,我想在由Visual Studio 2019构建的应用程序中使用它。但是当我将DLL链接到我的应用程序时,由于旧的dll需要文件msvcp80,我无法启动该应用程序.dll和msvcr80.dll。我的Windows上有很多Visual Studio运行时,但是无论如何,此dll无法加载。可能的问题是,这个旧的dll具有一个外部清单文件,该文件不适合/不适合我的现代Windows Server。有什么办法可以使这个旧的dll工作?PS:我没有此dll的源代码。清单是:

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
  <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
    <dependency>
       <dependentAssembly>
         <assemblyIdentity type='win32' name='Microsoft.VC80.CRT' version='8.0.50727.4053' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>

visual-studio dll
1个回答
0
投票

为了在Visual Studio 2008中(未安装VS-2008的计算机上运行用C / C ++编译器生成的可执行文件(包括DLL),您需要安装VC-2008 Redistributable软件包。

这是免费的,可以与您的应用程序一起免费分发,并安装所需的运行时库,例如您的PC缺少msvcr80.dll

可以从here下载和/或安装安装程序。>>

© www.soinside.com 2019 - 2024. All rights reserved.