[Lazarus] How to find out why a unit is used in a project?

Bo Berglund bo.berglund at gmail.com
Thu Sep 24 08:08:14 CEST 2020

On Thu, 24 Sep 2020 07:53:24 +0200, Sven Barth via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>Bo Berglund via lazarus <lazarus at lists.lazarus-ide.org> schrieb am Mi., 23.
>Sep. 2020, 21:13:
>> So there seems to be a chain reaction concerning units involved in the
>> application....
>If course there is. That's how the unit system is supposed to work after
Yes, I realize that now.

It means that the client even though it will not interface to the
hardware will have all of the code used to do that included in the
app, right?

The reason this was brought in is that the client app needs to know
the structure of the data on the server but not really the
implementatiuon on the server side inmcluding hardware interfacing

Is it possible to have declaration of classes in one file and
implementation in another?

For example one file holding the declarations and another
implementations and then the client just uses the first whereas the
server uses both?

Maybe this is where you can use inc files?

Or I should just accept it and move on...

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list