我是否应该将应用程序附带的运行时DLL安装为共享DLL? [英] Should I install runtime DLLs I ship with my application as shared DLLs?

查看:132
本文介绍了我是否应该将应用程序附带的运行时DLL安装为共享DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用作为共享DLL安装"是指运行时库(例如Visual C ++,VB)在注册表中获得一个条目:

With "install as shared DLLs" I mean that runtime libraries (eg. Visual C++, VB) get an entry in the registry:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\SharedDLLs


当应用程序也使用该DLL时,DLL的引用计数会增加.如果该应用程序将被卸载,则DLL引用计数将减少.如果DLL的引用计数达到0,则可以删除该DLL.

这似乎是干净的方法",但我不确定.

谢谢! :)


There a DLL''s reference count gets increased when an application also uses that DLL. If that application will be uninstalled, the DLLs reference count gets decreased. If a DLL''s reference count reaches 0, the DLL can be deleted.

That seems to be the "clean way", but I''m not sure.

Thanks! :)

推荐答案

Google很快找到了 [ ^ ].
A quick Google finds this[^].


这篇关于我是否应该将应用程序附带的运行时DLL安装为共享DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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