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

Tab order - dialog, Tab Order: The tab order stands for the order in w...

Tab Order: The tab order stands for the order in which the controls receive focus when the user clicks the tab key. The CTRL + D can be used to set the tab order of controls.

Making decisions with select case, The Select Case structure provides an op...

The Select Case structure provides an option to If...Then...Else If for selectively executing one block of statements from amongst multiple blocks of statements. Any Select Case st

Do until loop statement , Do Until Loop Statement: The statements with...

Do Until Loop Statement: The statements within the do...until loop block executes till the condition given in until become true. The working of do...until loop is elaborated w

Kitchen mock, How to pull ordered menu from a cash till to database or disp...

How to pull ordered menu from a cash till to database or display on a computer screen

Program for elevator application, You are given a console program in both V...

You are given a console program in both VB and C# that uses a class CElevator (ElevatorAppAssign). The main modules are in the assign directory class files. Below is a discus

Message loop, MESSAGE LOOP   The message loop is the code in the Win 3...

MESSAGE LOOP   The message loop is the code in the Win 32 based application. It retrieves messages from the application's message queue and passes these to the related window

Program to draw a rectangle shape , Create a project that draw a rectangle ...

Create a project that draw a rectangle shape which may be either (*) or (+) according to the selected radio button. The number of rows in the shape will be taken from the 1 st

If then else - control statement, If Then Else: The control statement ...

If Then Else: The control statement If Then Else is used for computing a condition and taking the action based on the condition. If the condition is true then the section will

Events, everything about events

everything about events

Creating an order entry and editing application , Assume you are creating a...

Assume you are creating an order entry and editing application for a book store. An order consists of a product, quantity, total price, payment type including Credit/Debit card acc

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