[fpc-pascal] IS operator and library created objects

Mark Morgan Lloyd markMLl.fpc-pascal at telemetry.co.uk
Thu Aug 20 14:59:54 CEST 2015


Michael Schnell wrote:
> On 08/20/2015 03:42 AM, Fabio Luis Girardi wrote:
>>
>> Everyone know some alternative (or more elegant)...
> 
> AFAIK FPC does not support using objects (er even strings) cross a 
> dynamic library interface.

Unless you explicitly use the cmem library. However even then it's 
basically restricted to passing/returning strings as procedure 
parameters/results.

> Delphi has "Runtime Packages" for this. But those are not (yet) 
> implemented in fpc (which would need to do that for all OSes)
> 
> So you need to do "flat" library calls: no objects, no strings, ...

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