lua-users home
lua-l archive

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


On Mon, Mar 15, 2010 at 11:05 PM, Bear <jilingshu@gmail.com> wrote:
hi,

>What is the value of package.cpath?
>Run this:
>print(package.cpath)
i hav modified my test.lua to this:
io.write("hello world\n");
print(package.cpath);

and it said:
hello world
.\?.dll;\Program Files\wmssystem\?.dll;\Program Files\wmssystem\loadall.dll

Ok, at least for LuaSocket, you should have this C libraries:
\Program Files\wmssystem\socket\core.dll
\Program Files\wmssystem\mime\core.dll

So in your Lua script you will do:
require "socket"

I don't know about LuaXML.