[fpc-pascal] Re: Re: Lua and Freepascal and ARM

Paul Nicholls paulfnicholls at gmail.com
Wed Jun 27 03:07:30 CEST 2007

>  Hi Paul,
>  I also need, as you, to call lua procedures from delphi/fpc and I need
> Lua
>  call procedures inside delphi/fpc.
>  Should it posible to share with me your implementation in order to check
> it
>  works with fpc (linux-arm)?

Sure, I am not sure if I am allowed to add attachments to this mailing list
but I will attempt to add my Lua units and an example program for you to use

EDIT: the previous post I sent hasn't appeared yet so I am assuming I can't 
post with attachments to the group so I have uploaded the files, you can 
download them here:


Lua5.1.dll is the Windows Lua DLL for this version.
LuaTest.dpr is a Delphi program (also works under Freepascal) showing how to
use my TLuaScript class.
LuaPas.pas is the interface file for Lua version 5.1
LuaObjects.pas is the pascal file containing my TLuaScript class and other
helper functions, etc.

Enjoy, and I hope it helps you :-)

More information about the fpc-pascal mailing list