On 3/4/06, Marcos <[EMAIL PROTECTED]> wrote:
> But, I think wxlua.exe must correctly use the require function without
> recompile libraries, because my goal is to use the binaries disposed on
> the web. Example is luasql, luazip, luasocket and so..
I agree, it should work, but I'm not sure why it
Thanks, John
I will try.
But, I think wxlua.exe must correctly use the require function without
recompile libraries, because my goal is to use the binaries disposed on
the web. Example is luasql, luazip, luasocket and so..
Another question is: You have a project to build wxLua module(dll,
Ok, I hacked away a bit, it's not pretty, but I got it to work in MSW.
I downloaded the sources for luasocket-2.0.tar.gz. Compiled it using
MSVC 2005 express using the sln file, I had to edit the *.vcproj to
point to wxLua/module/lua/include for the include path to lua.h.
I edited mime.h/c and add
On 2/27/06, Marcos <[EMAIL PROTECTED]> wrote:
> I'm compiling wxlua myself.
> I'am using the luasocket 2.0 binary files on win32 (win98).
>
> > I see you load compat-5.1.lua, wxLua is based on 5.0.2, has luasocket
> > been compiled for 5.1?
> No, luasocket was been compiled for 5.0.2, but under com
John,
Sorry, my bad english, I'm brazilian.
I'm compiling wxlua myself.
I'am using the luasocket 2.0 binary files on win32 (win98).
I see you load compat-5.1.lua, wxLua is based on 5.0.2, has luasocket
been compiled for 5.1?
No, luasocket was been compiled for 5.0.2, but under compat-5.1 pack
On 2/27/06, Marcos <[EMAIL PROTECTED]> wrote:
> I'm using wxlua for many years.
Great.
> I have a problem on using luasocket 2.0.
>
> Can I load a lua dll module with require?
> script
>
> dofile([[D:\lua\lua5\5.0\bin\compat-5.1.lua]] )
> local http = require("socket.http")
> b, c, h = http.
Hello,
I'm using wxlua for many years.
I have a problem on using luasocket 2.0.
Can I load a lua dll module with require?
script
dofile([[D:\lua\lua5\5.0\bin\compat-5.1.lua]] )
local http = require("socket.http")
b, c, h = http.request("http://www.lua.org";) print(b,c,h)
With lu