lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, 8 Sep 2009 20:40:33 +0530
Anurag Sharma <anurag.sharma.101@gmail.com> wrote:

> I want to launch Lua console with "myApp_Lua.dll" loaded. How can I
> do so?

Assuming it is a standard Lua module;

rjek@trite:~$ lua -h
usage: lua [options] [script [args]].
Available options are:
  -e stat  execute string 'stat'
  -l name  require library 'name'                           <-- this one
  -i       enter interactive mode after executing 'script'
  -v       show version information
  --       stop handling options
  -        execute stdin and stop handling options

rjek@trite:~$ lua -l socket
Lua 5.1.3  Copyright (C) 1994-2008 Lua.org, PUC-Rio
> =package.loaded.socket
table: 0x20c9990

B.