需要加载 msvcr100.dll 的已编译 .dll 文件
我有一个在MSVC++ 2010中编译的dll文件。它不需要任何其他额外的库,但只有一半的用户可以加载它,因为有些用户缺少msvcr100.dll。查看依赖关系,它需要一些基本函数,例如 memcpy free malloc,尽管我认为这些是标准的 C 运行时函数。代码生成设置在属性中设置为“多线程/MT”。可能是什么原因造成的?
I have a dll file compiled in MSVC++ 2010. It doesn't require any other extra library, yet only half of its users can load it because some are missing msvcr100.dll. Looking at the dependencies, it is requiring some basic functions like memcpy free malloc, though I thought those were standard C runtime functions. The code generation setting is set to "Multi-Threaded /MT" in the properties. What could be causing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我的解决方案是从 Windwos\System32 中删除 dll,然后重新安装 Microsoft Visual C++ 2010 Redistributable Package (x86)。
My solution was deleting the dll from Windwos\System32 and reinstalling the Microsoft Visual C++ 2010 Redistributable Package (x86).
http://www.microsoft.com/downloads/details.aspx microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&displaylang=en
http://www.microsoft.com/downloads/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84&displaylang=en