Benefits of using dynamic link library, Visual Basic Programming

Assignment Help:

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.

Related Discussions:- Benefits of using dynamic link library

Architecture of win 32 program, ARCHITECTURE OF WIN 32 PROGRAM   ...

ARCHITECTURE OF WIN 32 PROGRAM   Figure: working of Win 3 program The hardware events in the figure are the mouse associated events like the mouse move, left

Dictionary, how to make dictionary in vb using ms access

how to make dictionary in vb using ms access

Functions, write a v.net function called is vowel that returns true for vow...

write a v.net function called is vowel that returns true for vowel letters

Objective of vb script, The objective of this unit is to describe the basic...

The objective of this unit is to describe the basics of VBScript. After completing this unit, you will be capable to write code for Web pages via VBScript. You will be able to unde

Project to create splitter window , PROJECT TO CREATE SPLITTER WINDOW   ...

PROJECT TO CREATE SPLITTER WINDOW   1. Generate the SDI application. 2. Enlarge the class tab page. 3. Select the view class. 4. On right clicking the menu pops up.

Menus and tool bars in visual basic, MENUS AND TOOL BARS   The Menu op...

MENUS AND TOOL BARS   The Menu options can be checked, enabled, disabled, and popped up on an object. The Menu Object: The Menu control is used to generate a menu in

Steps for creating a multiple document interface (mdi) form, Steps for Crea...

Steps for Creating A MDI Form: 1. Build a new form and set IsMdiContainer property to true. 2. Build a child form class to add to the form. 3. Now Right click the proj

Loan program, need help with logic part of loan program

need help with logic part of loan program

Employee data, Part 1: Create an application that allows the user to enter ...

Part 1: Create an application that allows the user to enter the following employee data: First Name, Middle Name, Last Name, Employee Number, Department, Telephone Number, Telephon

XML with database, write a XML with database with book details( book id, au...

write a XML with database with book details( book id, author ,subject, published year, vendor,price, language )

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd