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

Naming restrictions, For naming anything variable names follow the standard...

For naming anything variable names follow the standard rules in VBScript. A variable name: Should begin with an alphabetic character. Cannot have an embedded period. Sh

Refresh method - data control, The Refresh Method: The refresh method ...

The Refresh Method: The refresh method transfer to the first record in the record set. To invoke the refresh method follow the syntax which is as shown below: Form1.Data1.R

Running statements if a condition is true, To run only one statement while ...

To run only one statement while a condition is True, employ the single-line syntax for the If...Then...Else statement. The following instance shows the single-line syntax. Notice t

Vbscript error object clear method, Methods: VBScript Err Object ...

Methods: VBScript Err Object Clear Method Clears every property settings. Raise Method Generate a run-time error.

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 )

Very Very Boards, This is from the book Programming in Visual Basic 2010 by...

This is from the book Programming in Visual Basic 2010 by Julia Case Bradley and Anita C. Millspaugh. The assignment is located in Chapter 3 on page 154. Before I type it in, I wou

It, flow chart symbols

flow chart symbols

Do while loop statement, Do While Loop Statement : The statements conta...

Do While Loop Statement : The statements contained by the do...while loop block executes till the condition given in the while is true. The working of do...loop is elaborate

Develop web pages which use vbscript, In this unit you have learned how to ...

In this unit you have learned how to develop Web pages which use VBScript. You have learned to insert logic to your Web pages as along with any other programming application. You h

Object naming conventions, The following table lists suggested conventions ...

The following table lists suggested conventions for objects you might encounter while programming VBScript. Code Commenting Conventions All process should begin with a brie

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