[Lazarus] Lazarus implementation of TListView etc?

Bo Berglund bo.berglund at gmail.com
Fri Oct 23 14:28:40 CEST 2015


On Fri, 23 Oct 2015 08:01:20 +0200, Sven Barth
<pascaldragon at googlemail.com> wrote:

>This is especially true if the code related to the GUI components isn't
>even used (yes, I knew such stuffed units as well -.- ).

I just looked in our CVS server for the history of the most
problematic unit. It was added to version control back in February
2001 and to date there are 99 revisions checked in.
It does not show the best OO design one has seen...

Another pice of info:
About 2-3 years ago I had to make available a Windows DLL to support a
university which needed to create its own software for research and it
was rellay not possible for them to handle the communications side of
it.
So I made (in Delphi) a Windows DLL which used this unit and basically
also the other units I am now porting to Lazarus/FPC. Inside that DLL
are between 22 functions related to the instrumentation handling, but
none that refers to the GUI components.
But the problem unit is used in any case.
This DLL works just fine to control the instrumentation in Windows
used in a Windows console program written in Delphi. It could also be
used from Visual Basic 6 without any issues (I tested both).

So I am a bit surprised that just using this unit would make the FPC
command program not work...


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list