windows平台上不同类型的DLL
在 Windows 平台上发现了几种类型的 dll
- 旧式本机 dll
- COM dll
- .NET dll
还有我在上面的列表中缺少的其他 dll 类型吗?另外,这些之间有什么区别?
TIA
There are several type of dlls found on windows platform
- Old style native dll
- COM dll
- .NET dll
Are there any more dll types that I am missing in list above? Also what is the difference between each of these?
TIA
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果不考虑 DLL 的用途,那么只有一种类型的 32 位 DLL。
它具有PE(可移植可执行文件)格式,可导出函数和数据以及资源。
如果区分不同种类的内容,那么就会有无数种不同“类型”的 DLL。例如,DLL 可能只包含程序的资源。或者它可能包含某些解释器的字节码(.NET DLL 就是一个例子)。或者无论如何。例如,如果您最热衷于 Windows 中直接支持的内容,则控制面板小程序是 DLL,COM 类型库是 DLL,shell 命名空间扩展通常是 DLL,这会导致您区分不同类型COM DLL 作为 DLL 的“类型”。正如他们常说的,它仅受你的想象力和你的“类型”概念的限制——无论这个概念是什么。
干杯&呵呵,
If you disregard what a DLL is used for, then there's only one type of 32-bit DLL.
It has PE (Portable Executable) format, and it exports functions and data, plus resources.
If you distinguish between different kinds of content, then there are an unbounded number of different "types" of DLLs. For example, a DLL might contain just resources for a program. Or it might contain bytecode for some interpreter (a .NET DLL is an example of that). Or whatever. E.g., if you're most keen on those with direct support in Windows, a control panel applet is a DLL, a COM type library is a DLL, and a shell namespace extension is usually a DLL, which leads you into distinguishing between different kinds of COM DLLs as "types" of DLLs. As they used to say, it's only limited by your imagination, and by your notion of "type" -- whatever that notion is.
Cheers & hth.,