Everything you ever wanted to know about DLLs and Delphi but didn't know where to look for answers (or were to afraid to ask). Papers, tutorials, articles, code, what, how, why, when, where...
How to create a simple DLL using Delphi. A Dynamic Link library, or DLL, is a collection of routines (small programs) that can be called by applications and by other DLLs.
This article is aimed at removing the fear of writing DLLs for beginners. A lot of beginners think DLLs are really complex, when actually they are pretty simple.
This article is aimed at removing the fear of writing DLLs for beginners. A lot of beginners think DLLs are really complex, when actually they are pretty simple.
Here's how to store a DLL inside a Delphi program exe file as a resource.
An info on Delphi memory allocation and dynamic-link libraries (DLL). Why and when an "Invalid pointer operation" exception strikes and how to fight against it. How to properly use strings as parameters in DLL functions.
How to register (and unregister) OLE controls such as dynamic-link library (DLL) or ActiveX Controls (OCX) files from a Delphi application.
An overview of creating and using 'Borland package libraries' and how they compare with 'dynamic link libraries' in creating smaller Delphi applications.
Need to modularize your application? Learn how to place a Delphi MDI child form into a dynamic link library (DLL) and how to display the child form inside an MDI parent window. Surprise: this is only possible when using run-time packages!
See how to create a Resource only DLL and dynamically use it.
This is a very simple demonstration of how to use forms in a DLL. It is useful when you wish to share forms amongst applications without sharing the code beneath them
See how to actually control when the DLL is loaded into memory, and how to remove it from memory when we are finished using it.
See the advantages and disadvantages of dynamic over static loading a DLL.
See how to retrieve the list of exported functions from a DLL, This code does not show the parameters for each export, which you can only get from the author of the DLL.
Using Delphi created DLLs in VB.
This document demonstrates how to use Object Pascal to link a DLL dynamically, on-the-fly, into an active Database, thus, giving the Developer the ability to 'Modularize' features. (Whether at Run-Time or Design-Time)
This article explains the development of a dynamic link library (DLL) on the example of a DLL that save and restores the current position of a form.
Answer to: "How can I detect (from a dynamic link library) the full path and file name of where the DLL is running from?"
This article shows a tool (HeadConv) and techniques that can will assist you and enable you to use DLLs written in foreign languages like C or C++, from within your Delphi applications.

