Made some modifications to get LuaDelphi console app as well as the dll compiling in Delphi XE3