API和DLL之间的区别 [英] Difference between API and DLL

查看:275
本文介绍了API和DLL之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


谁能告诉我API和DLL之间的区别.
还告诉那里的实现.如何在C#.NET中使用它

在此先感谢

Hi,
Can anyone tell me the difference between API and DLL.
Also tell there implementation. How to use it in C#.NET

thanks in advance

推荐答案

完全没有意义的问题.如果有人设法回答"这个无效的问题(当然不能合理地回答),那么它对您没有帮助.

为什么无效?
请参阅以下内容:类和编程中的封装 [ ^ ].

您需要了解单词或答案"并不意味着知识.有关好的或有效问题的讨论会有所帮助吗?参见:
如何问一个好问题? [ ^ ]

另请参见:

http://en.wikipedia.org/wiki/API [ http://en.wikipedia.org/wiki/Dynamic-link_library [ http://en.wikipedia.org/wiki/Shared_library#Shared_libraries [ Peter Norvig,十年内自学编程
Microsoft Q209354 .

—SA
Totally pointless question. If someone manages to "answer" this invalid question (which cannot be reasonably answered of course), it won''t help you.

Why invalid?
Please see this: what is the difference between the class and encapsulation in programming[^].

You need to understand that words or "answers" do not mean knowledge. Could this discussion on good or valid questions help? See:
How to ask a good question?[^]

See also:

http://en.wikipedia.org/wiki/API[^],
http://en.wikipedia.org/wiki/Dynamic-link_library[^],
http://en.wikipedia.org/wiki/Shared_library#Shared_libraries[^],
Peter Norvig, Teach Yourself Programming in Ten Years,
Microsoft Q209354.

—SA


先生,

API是应用程序编程接口,是由库和/或操作系统服务提供的一组例程,数据结构,对象类和/或协议,以支持应用程序的构建.

DLL是动态链接库,是Microsoft在Microsoft Windows和OS/2操作系统中对共享库概念的实现.这些库通常具有文件扩展名DLL,OCX(对于包含ActiveX控件的库)或DRV(对于旧式系统驱动程序).

因此,Dll是程序集文件,其中包含数据结构,对象类.
API也位于Dll.

您可以访问此链接以获取更多详细信息:
http://en.wikipedia.org/wiki/API
http://en.wikipedia.org/wiki/Dynamic-link_library

希望这一点对您有所帮助.

谢谢.
Hi Sir,

API is application programming interface is a set of routines, data structures, object classes and/or protocols provided by libraries and/or operating system services in order to support the building of applications.

DLL is Dynamic-link library, is Microsoft''s implementation of the shared library concept in the Microsoft Windows and OS/2 operating systems. These libraries usually have the file extension DLL, OCX (for libraries containing ActiveX controls), or DRV (for legacy system drivers).

Therefore, Dll is assembly file which hold data structures, object classes.
API is the located in Dll also.

You can visit this link for more details:
http://en.wikipedia.org/wiki/API
http://en.wikipedia.org/wiki/Dynamic-link_library

I hope this one can help.

Thank You.


类库的准则行
API vs DLL
and to implement see GuideLines for Class Libararies


这篇关于API和DLL之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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