Quote Originally Posted by jdarling
Yeah, there is a better way. Join the effort that is on-going on supporting and building Lua in FPC/Delphi instead of re-inventing the wheel .

Seriously, there is no good way to embed the Lua library directly into an application in Delphi or Lazarus. I've been working on a complete 5.1 binary compatible port of the Lua VM, but progress is very slow.

- Jeremy
Perhaps if I have time, I could help you with the Lua conversion?

cheers,
Paul