Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DCP and BPL in different folders.

61 views
Skip to first unread message

skybuck2000

unread,
Dec 26, 2021, 11:58:20 PM12/26/21
to
Delphi Compiled Packages
and
Delphi Runtime Library Binary Packages (BPL)

Can be placed in different folders through compiler/project options.

However Delphi Help does not explain the following:

What are DCP used for ?

Can they be used for debugging ?

Also how to add DCP to a project/application via project options/search path ?

Also this does not seem to be enough, the DCU files must be added as well to be able to compile and debug ?

So what is the point ?

Perhaps DCP only needed if BPL is used to be able to debug the BPL ?!?

This should be explained better by the Delphi help file !

The help about how to use and add DCP and BPL to applications/projects is completely missing !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Bye,
Skybuck.

skybuck2000

unread,
Dec 27, 2021, 12:26:58 AM12/27/21
to
Delphi packages must be added to the project/applications settings/options in a special setting:

Project Options->Packages

Different settings can be used for release/debug etc.

Packages can also be "linked" against runtime packages BPLs basically.

It is very hard to find this information in the help file when reading about how to create packages.

The information might not even be in the help file, fucking stupid !

My best guess for now is:

DCPs needed for more complex packages that want to statically link it.

DCPs can also be statically linked into applications, but these DCPs must be added to this special project options.

So if DCP and BPL are in different folders, perhaps add them twice.

Platform and Config can be used to automate this.

Example:
<some folder>\$(Platform)\$(Config)

Can be used on output and input/search paths.

Bye for now,
Skybuck.
0 new messages