Win 7,64位,dll问题 [英] Win 7, 64 bit, dll problems

查看:179
本文介绍了Win 7,64位,dll问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的可执行文件有问题。我在我的Win-7 64位开发框上运行这个C ++ 32位可执行文件,它还具有所有这些MS应用程序(Visual Studio 2008 + 2010,TFS,SDK,MS Office)...
及其仍然运行正常。

I have a problem with our executable. I'm running this C++ 32-bit executable on my Win-7 64-bit development box that also has all those MS applications (Visual Studio 2008 + 2010, TFS, SDK, MS Office)... And its still running just fine.

现在我得到了相同程序的客户端安装,并要求您使用干净的Win-7安装进行测试。因此,我得到了Win-7 64位VM Ware,并将其更新为Win-7 SP 1(我的开发人员框正在调试)。
但是在我的开发者框中,一切都很好,程序不适用于VW Ware(30天试用)框。

Now I got the client installation of the very same program and wwas asked to test it with a clean Win-7 installation. Thus i got I Win-7 64-bit VM Ware and updated it to Win-7 SP 1 (the very same version my developer box is tunning). But while on my developer box everything is fine the program does not work with the VW Ware (30 days trial) box.

x86依赖关系助行器正在告诉我以下DLL缺少:

The x86 dependency walker is telling me that the following DLLs are missing:


  • API-MS-WIN-CORE-COM-L1-1-0.DLL

  • API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL

  • API-MS-WIN-CORE-WINRT-L1- API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL

  • WIN-CORE-WINRT-STRING-L1-1-0.DLL

  • API-MS-WIN-SHCORE-SCALING-L1-1-0.DLL

  • DCOMP.DLL

  • GPSVC.DLL

  • IESHIMS.DLL

  • API-MS-WIN-CORE-COM-L1-1-0.DLL
  • API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL
  • API-MS-WIN-CORE-WINRT-L1-1-0.DLL
  • API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL
  • API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL
  • API-MS-WIN-SHCORE-SCALING-L1-1-0.DLL
  • DCOMP.DLL
  • GPSVC.DLL
  • IESHIMS.DLL

我对这些API-MS-WIN -... dll进行了谷歌搜索,发现它们实际上已经是Win-7的一部分(有些网站声称属于Win-8和Win 2012服务器)

I googled for those API-MS-WIN-... dlls and found they should actually already be part of Win-7 (some sites claiming the belong to Win-8 and Win 2012 server though).

我已经尝试了我发现的建议修正,它们是:

I already tried the suggested fixes I found, which are:


  • 运行'sfc / scannow'

  • 安装Visual Studio 200 8 SP1运行时可执行文件

但是没有解决任何问题。 : - (

But that didn't solve anything. :-(

旁注:我的开发框也没有它们,似乎不需要它们,例如我的框上的user32.dll没有链接对于其中的一个,而在VM ware上的安装。

Side note: My development box does not have them either, and does not seem to need them. For example the user32.dll on my box does not link against one of those, while the installation on the VM ware does.

有什么想法如何解决这个问题?
我试图找到一个合适的下载/修复MS页面但失败。

Any idea on how to fix this issue? I tried to find a suitable download / fix on the MS pages but failed.

问候,
托马斯

Regards, Thomas

解决我的问题后,我想报告我发现的内容,我不能将此作为答案发布,因为问题已经关闭。

After solving my issue I wanted to report what I found out, and I can't post this as an answer because the question has been closed.

实际上所有的DLL都是由依赖关系行为器工具丢失的,所以那些

Actually all the DLLs reported missing by the dependency walker tool, nameley those

* API-MS-WIN-CORE-...  

类型DLL不是实际问题的一部分。

type DLLs were not part of the actual problem.

在我的情况下,3个OCX文件的注册丢失,之后一切都很好,但是依赖关系行为器工具仍然列出了与以前相同的DLL,即使当th e程序现在运行正常。

In my case the registration of 3 OCX files was missing and after that everything was just fine, BUT dependency walker tool still listed all the very same DLLs as before even when the program was just running fine now.

它的要点:正如其他人所说,该工具现在有点过时,并不总是与新的操作系统正常工作。因此,请注意不要错过API-MS-WIN-CORE-COM-L1-1-0.DLL,这个问题可能完全在其他地方。

The gist of it: As someone elsewhere stated, the tool is a bit dated by now and does not always work properly with newer OS. Thus keep an eye open and don't get mislead by missing 'API-MS-WIN-CORE-COM-L1-1-0.DLL', ... the problem probably lies entirely elsewhere.

推荐答案

此问题与Visual Studio可重新分发包的缺失有关。根据依赖性步骤,不明显哪一个丢失,但是我会首先尝试与编译器版本对应的那个,看看是否正常运行:

This problem is related to missing the Visual studio "redistributable package." It is not obvious which one is missing based on the dependency walk, but I would try the one that corresponds with your compiler version first and see if things run properly:

< a href =https://www.microsoft.com/en-us/download/details.aspx?id=48145 =nofollow noreferrer> VS 2015

VS 2013

VS 2010

VS 2008

我遇到这个问题,因为我正在使用VS编译器,而不是完整的VS环境。

I ran into this problem because I am using the VS compilers, but not the full VS environment.

这篇关于Win 7,64位,dll问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆