How to set classes or blocks as components in Delphi 2007?

I am writing a package in Delphi 2007 containing a component and several classes. I want to “install” classes as well as components.

To be more precise: when the component is installed, the device is somehow registered in such a way that there is no need to add its path to the search path in the project. I would also like to do this with a few additional modules that do not contain components: if I can somehow register the package root, I am finished. Is it possible?

EDIT: in one sentence, the goal: If someone installs my package, there is no need to add the path to the units in the package, it is added to the path to the Delphi library (so this does not need to be done manually).

+2
source share
4

, "Unit Output Directory" $(BDSCOMMONDIR)\Dcp - . ksTools -

+1

: , - , .

. , bpl, , IDE, ( R) . , .

, IDE , , , .

. , , bpl IDE.

+3

dcluser.dpk , ?

0

In an IDE, you will also need to know where any DCU associated with the package is stored. This means that you need to add the actual path (where the DCU is located) to the Library Path IDE or save them in a location that is already registered as a library path.

0
source

All Articles