Delphi - Creating a Component


Creating a Component Source File

A new component is just an *.pas file with a Register procedure. Create one using either or


Installing a Component

Component / Install Component... requests a package (*.dpk) file to install it to. The package should be in Delphi5\Lib This causes the following to be built Package.dpk was not updated.


Installing a Package

Packages are installed (and removed) using Just Add the *.bpl file.


Editting a Package

*.dpk files can be edited via Here you can add and remove units (*.pas files). Using the dialog you can manually re-compile the package.


Author: Robert Clemenzi - clemenzi@cpcug.org
URL: http:// cpcug.org / user / clemenzi / technical / Languages / Delphi / NewComponent.html