- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
vc 动态链接库和静态链接库(VC dynamic link library and static link library)
vc 动态链接库和静态链接库(VC dynamic link library and static link library)
1 background
Software development is based on the idea of modular development, which can improve the reusability of code, facilitate the module testing and maintenance of module functions, and expand and shorten the development cycle.
The embodiment of modular development is the design of module function and the design of cohesion and coupling between modules. The development of technology is mainly the design of dynamic link library and static link library.
Because the design features need to be closely related to the project being developed, this article is not discussed.
This paper mainly introduces the development technology: dynamic link library and static link library.
2 concepts and differences
Both dynamic link library and static link library are all modules that encapsulate, compile, and generate code. Such modules can not be executed separately and need to be called by exe executable file. Its code is not visible, leaving functional interfaces for use by two developers.
The schematic diagram is as follows:
The figure above is just a simple schema diagram, and the actual method of invocation is different depending on the link library.
Heres a brief introduction to both static and dynamic link libraries.
2.1 static link library
Static link library suffix is.Lib file, if your executable program calls the static link library, then compiled static link library code to link to the executable you to be a part of your executable program. So, the executable file that calls the static connection is generally larger.
2.2 dynamic link library
Dynamic link library is relative to static link library. The extension of dynamic link library file is DLL, and it may be DRV, Sys and so on. If an application uses a dynamic link library, the Win32 system guarantees that there is only one copy of DLL in memory, which is implemented through memory mapped files. DLL is first transferred to the global stack of the Win3
您可能关注的文档
- 10000单字(1-10)(10000 words (1-10)).doc
- 200804vb程序设计基础期中考卷及答案(200804vb programming, basic exam papers and answers).doc
- 20110529上海市黄董参观(20110529 Shanghai Huang Dong visit).doc
- 20120927-问答广告策略-xmm(20120927- question and answer advertising strategy -xmm).doc
- 20121012系统集成项目管理工程师总结(20121012 systems integration project management engineer summary).doc
- 20101213年终压力最大十大职业排行(20101213 year-end pressure ten largest occupation ranking).doc
- c游戏编程(C game programming).doc
- c程序设计笔试题(C programming written examination questions).doc
- c编程2(C programming 2).doc
- c编译mysql(C compiles MySQL).doc
- vc++6.0编译及链接时常见问题的解决及#pragma(Common problems in vc++6.0 compilation and linking and #pragma).doc
- vc 编译器基本使用(The basic use of the VC compiler).doc
- vb编程_计算机考试题(VB programming _ computer test).doc
- vc++编程中的文件操作(File operations in vc++ programming).doc
- vc6.0编译器参数设置(VC6.0 compiler parameter settings).doc
- vb实现在pc上通过手机发短消息(VB implements short messages on the PC via mobile phones).doc
- vb属性方法中英文对照(VB property method in English and Chinese).doc
- vc6编译参数的设置(VC6 compile parameter settings).doc
- vc6.0编译器详解(VC6.0 compiler detailed).doc
- vc下的ado编程入门(Introduction of ADO programming under VC).doc
文档评论(0)