[fpc-pascal] Module or Plugin or similar howto implement?

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Tue Jul 20 12:21:01 CEST 2010


Reimar Grabowski wrote:
> On Mon, 19 Jul 2010 17:13:15 +0200
> Eduardo <emorras at xroff.net> wrote:
> 
>> I'm developing an app and need to extend its functionality via external
>> modules or plugins. Currently i'm trying to do it using dll/so but
>> don't know if there are better methods to do implement it. 
> 
> I don't know if there are better methods, but I can say that the dll/so approach works quite well. At least it did for our project. It was written in C++ but I think it will work with pascal as well, if not better due to superior language. :)

It works, and a dll/so can be dressed up quite nicely as an object. The 
weakness is the lack of embedded description of the parameters etc. of 
each entry point.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]



More information about the fpc-pascal mailing list