[Lazarus] Equivalent of a Windows DLL on RPi?

Michael Schnell mschnell at lumino.de
Mon Sep 21 10:52:17 CEST 2015


On 09/20/2015 07:02 AM, Bo Berglund wrote:
> I have a DLL written in Delphi7 (or 2007), which implements a whole
> bunch of basic functions ...

While if course in Linux a "dynamic link" concept like DLL does exist 
and is widely used ("Shared Objects" ".so - files") why would you want 
to use it in this project ?

DLLs/sos make sense if used by multiple executable. If you only do a 
single executable it will be easier do use a decent unit concept in 
Delphi or Lazarus.

Moreover Delphi supports "Runtime Libraries" to create a special kind of 
DLLs, that are only usable by Delphi applications. Lazarus does not 
(yet) support this concept and hence doing DLLs /sos needs to be done on 
a rather "basic" level.

-Michael





More information about the Lazarus mailing list