Dynamic-link Library shared Library of functions and resources

Source: Internet
Author: User

Https://msdn.microsoft.com/en-us/library/1ez7dh12.aspx

A Dynamic-link Library (DLL) is an executable file, acts as a shared library of functions and resources. Dynamic linking enables an executable to call functions or use resources stored in a separate file. These functions and resources can be compiled and deployed separately from the executables so use them. The operating system can load the DLL into the executable's memory space when the executable was loaded, or on demand at RU Ntime. DLLs also make it easy to share functions and resources across executables. Multiple applications can access the contents of a single copy of a DLL in memory at the same time.

https://msdn.microsoft.com/en-us/library/windows/desktop/ms682589 (v=vs.85). aspx

A dynamic-link library (DLL) is a module, that contains functions and data, can be used by another module (app Lication or DLL).

A DLL can define, kinds of functions:exported and internal. The exported functions is intended to being called by other modules, as well as from within the DLL where they is defined. Internal functions is typically intended to being called only from within the DLL where they is defined. Although a DLL can export data, its data are generally used only by its functions. However, there is nothing to prevent another module from reading or writing this address.

DLLs provide a-modularize applications so, their functionality can be updated and reused more easily. DLLs also help reduce memory overhead when several applications use the same functionality at the same time, because altho Ugh each application receives its own copy of the DLL data, the applications share the DLL code.

The Windows Application programming Interface (API) is implemented as a set of DLLs, so any process that uses the Windows API uses dynamic linking.

Dynamic-link Library shared Library of functions and resources

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.