如何创建无MSVCR90D.dll一个Win32 DLL? [英] How do I create a Win32 DLL without MSVCR90D.dll?

查看:156
本文介绍了如何创建无MSVCR90D.dll一个Win32 DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图重新使用现有C的Win32 DLL一个单一的,简单的功能。我已成功地做到这一点使用VS C ++ 2008例preSS,和我的新作品DLL我的Vista开发计算机上,并在客户端的XP的机器。但是,它不会在其他网站上的工作。我检查了依赖和我的DLL需要MSVCR90D.dll和KERNEL32.dll中,其中原来的DLL只需要KERNEL32.dll中。

I am trying to recreate an existing C Win32 DLL with a single, simple function. I have managed to do this using VS C++ 2008 Express, and my new DLL works on my Vista dev machine, and on the client's XP machine. However, it doesn't work on other sites. I have checked dependencies and my DLL requires MSVCR90D.dll and KERNEL32.dll, where the original DLL only requires KERNEL32.dll.

什么是MSVCR90D.dll,而我怎么没有这种依赖性创建一个简单的Win32 DLL?

What is MSVCR90D.dll, and how do I create a simple Win32 DLL without this dependency?

推荐答案

链接与C运行时库的静态版本。该设置是在项目属性下的code一代。然后,你将不再需要在所有的担心MSVCR *的DLL。

Link with the static version of the C runtime library. The setting is under "Code generation" in the project properties. Then you won't need to worry about the MSVCR* DLLs at all.

这篇关于如何创建无MSVCR90D.dll一个Win32 DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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