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 Frame: As the name suggests, the frame is a combination of the building blocks, structure and the borders of an item. The frame gives the "physical" presence to a window.

This is a series of VBScript statements enclosed through the Function & End Function statements. A Function procedure is same to a Sub procedure, however can also return a value. T

Deleting Records: To remove a record use the Delete method. To delete the record from the customer table follow the coding as shown below: data1.RecordSource = "Customer"

Adding Records: 1. As in the earlier case Set the DatabaseName property as "C:\ex.mdb", now Set the Record Source for the data control as Customer and Set the Record Type to 0

INTRODUCTION TO VB: The Windows programming is an event driven programming. The VB uses the Hungarian Notation for naming the variables. It deals with new data types like HWND,

Fixed length strings: The Fixed length strings are declared by identifying the size of the string. For illustration to give a length of 20 for the string place, the declarati

ILLUSTRATION OF MDI APPLICATION USING A PROJECT 1. Choose the MDI option while generating the project by using the Appwizard. 2. Add the WM_LBUTTONDOWN message for the view

How to create a login form in vb 2010

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

CONTROL ARRAY The control array is a group of similar objects with similar name. Adding controls with control arrays uses less resource than simply adding the multiple controls