[Lazarus] Equivalent of a Windows DLL on RPi?

Bo Berglund bo.berglund at gmail.com
Mon Sep 21 16:48:19 CEST 2015


On Mon, 21 Sep 2015 10:52:17 +0200, Michael Schnell
<mschnell at lumino.de> wrote:

>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 ?

A shot in the dark maybe...
But a couple of years back I ported the existing server code into a
DLL where the main functionality was accessible in order for a
university customer to be able to use it for their research project
using their own code. The DLL is usable both from Delphi and Visual
Basic so they can throw together their own processing and use the DLL
to access the instrument easily.

So I thought that maybe I could do the same here and have something
that a main program created natively in Python for instance could use.

But I agree it would be better to create a full FPC program instead
using the proper selection of units from the DLL project for instance.

-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list