A Dynamic Link Library (DLL) is an executable file with a .DLL extension that may contain procedures, functions or resources that can be shared by multiple programs. Even if several programs call the same DLL, it is only loaded once in memory saving system resources. That is one of its major advantages.
A DLL can be used to store resources. For example, you can create a DLL of images that you can then use in your applications. Or, you can use DLLs to provide multi-lingual support for an application by creating several versions of a DLL for the various supported languages and then calling them as needed at run time.
You may have a complex application that is constantly being updated. By using DLLs in this situation, you can save your users a great deal of time and frustration. Instead of having to recompile and deploy the entire application with every new update, you can simply provide a new DLL to replace an older version. To use a DLL in this way, you must include all the methods found in the old DLL in the new version, and not change any of the original parameters.
Online Delphi Training offers customized DLL training. You can also sign up for the following classes:
- ALC26 - DLLs with Delphi - Introduction and Examples (3-hour introductory class)
- DL202 - Delphi Programming Concepts IV (8-hour class)
This example will show you how to create and call a DLL in Delphi. To see the full explanation and code, click on:
How To Create And Call A Dynamic Link Library (DLL) in Delphi.
For more information about Online Delphi Training:
- Click on: Delphi Training or
- Call +1 (678) 921-0644
Krikor Mnatzaganian
Managing Director Of Training
Website: www.OnlineDelphiTraining.com
Phone: +1 (678) 921-0644
Email: info@onlinedelphitraining.com
No comments:
Post a Comment