Benefits of using dynamic link library, Visual Basic Programming

Benefits of Using DLLs:

The dynamic linking has the following advantages which are as shown below:

  • It saves memory and decreases the swapping. Many processes can use a single DLL concurrently, sharing a single copy of the DLL in the memory. In contrast, the Windows should load a copy of the library code into the memory for each application which is built with a static link library.
  • The DLL saves the disk space. Many applications can share a single copy of the DLL on the disk. In contrast, each application built with a static link library has the library code linked into its executable image as a individual copy.
  • Upgrades to the DLL are much easier. When the functions in a DLL change, the applications which use them do not required be recompiling or re-linking as long as the functions arguments and return values do not change. In difference, the statically linked object code needs that the application be re-linked when the functions changes.
  • It Supports multi language programs. The Programs written in various programming languages can call the same DLL function as long as the programs follow the functions calling convention. The programs and the DLL function should be compatible in the following ways: the order in which the function expects its arguments to be pushed into the stack, whether the function or the application is answerable for cleaning up the stack, and whether any of the arguments are passed in the registers.
  • ?It provides a mechanism to expand the MFC library classes. You can derive the classes from the existing MFC classes and place them in an MFC extension DLL for use by the MFC applications.
  • It eases the creation of the international versions. By placing resources in the DLL, it is much easier to create international versions of an application. You can locate the strings for each language version of your application in individual resource DLL, and have the various language versions load the suitable resources.
  • A potential demerit to using DLLs is that the application is not self-contained; it depends on the existence of an individual DLL module.
Posted Date: 10/10/2012 2:44:58 AM | Location : United States







Related Discussions:- Benefits of using dynamic link library, Assignment Help, Ask Question on Benefits of using dynamic link library, Get Answer, Expert's Help, Benefits of using dynamic link library Discussions

Write discussion on Benefits of using dynamic link library
Your posts are moderated
Related Questions
The View: The view is used for visualising. For illustration, while performing word processing, the user works on a sequence of words which compose the text. If a user is perf

The body of variable or procedure name must use mixed case and complete as essential to define its purpose. Additionally, procedure names must begin with a verb, such as CloseDialo

This section will discuss the fundamentals of VBScript and define concepts such as datatypes, loops and others. VBScript Data Types VBScript contain only one data type called

For reason of readability & consistency, employ the following prefixes along with descriptive names for variables in your VBScript code. S ub type Prefi

THE MFC CLASSES The CDocument, CWinAppCFrameWnd and CView are derived from the CObject and they give the majority of the structure and functionality.

A For Each...Next loop is similar to a For...Next loop. Rather than repeating the statements a particular number of times, For Each...Next loop repeats group of statements for each

ToolTip: The ToolTip property is used to flash a message regarding a control object when the mouse pointer moves over that object for a couple of seconds. Pick a control and c

Adding Handlers With Class Wizard: Whenever a handler is added, the class wizard places the prototype for the message handler in the header (.H) file. It gives a skeleton hand

Write Visual Basic programs for the following: 1.     Write a program that uses a "For Loop" to generate a list of temperature conversions in one degree increments from a given

While a run-time error takes place, the properties of the Err object are filled with information which uniquely identifies the error & information which can be used to handle it. I