[Lazarus] How to access libraries from other languages?

Chavoux Luyt chavoux at gmail.com
Sun Feb 15 16:46:24 CET 2015


Hi guys,

The recent threat on Raspberry libraries made me think. I remember that it
was possible in Delphi to access .ddl libraries written in C or C++ (a bit
more work) by wrapping them and using a "far" call? I did this a while ago,
so not clear on the details anymore. Typically I would write a driver etc.
for hardware in C/C++ and then have a Delphi wrapper class that I could use
to access the hardware. I assume this is still possible in Lazarus? Are
there any tutorials etc. or will the old Delphi methods still work? Will
this also work with Linux .so files? For that matter, are there any other
way for Lazarus to get direct access to the hardware (except maybe use
inline assembler)?

Thanks for bringing me back up to speed!

Cheers,
Chavoux
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150215/96d108f2/attachment-0002.html>


More information about the Lazarus mailing list