DLL没有导出功能? [英] DLL without exported functions?

查看:238
本文介绍了DLL没有导出功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在MS-Office DLL中窥探了一下,我注意到一些DLL没有任何导出的功能。我不太明白,应用程序可以如何使用这些DLL而没有导出任何函数?



我的意思是,dllmain()在LoadLibrary()但是什么意思呢?为什么有人会创建没有导出功能的DLL?



谢谢! : - )

解决方案

处理针对不同语言的程序版本的一种方法是将所有资源放入语言DLL。该DLL不包含任何代码,只是已经被翻译成目标语言的资源。当主程序启动时,它需要做的就是加载适当的语言DLL。


I've snooped around a little bit in MS-Office DLLs, and I noticed that some of the DLLs don't have any exported functions. What I don't quite understand, how an application can use these DLLs without any functions exported ?!

I mean, the dllmain() does get executed on LoadLibrary(), but whats the point? Why would anyone create a DLL without exported functions?

thanks! :-)

解决方案

One way of dealing with versions of a program destined for different languages is to put all of the resources into a language DLL. The DLL doesn't contain any code, just resources that have been translated to a target language. When the main program starts up, all it needs to do is load the proper language DLL.

这篇关于DLL没有导出功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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