[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luacom: pbs with lua dll
- From: Fabio Mascarenhas <mascarenhas@...>
- Date: Fri, 18 Feb 2005 11:57:30 -0300
Hi,
Looks like a path problem. The server script (inproc.lua) should be in
the directory where you are doing "lua5 inproc_use.lua".
--
Fabio Mascarenhas
On Fri, 18 Feb 2005 15:38:03 +0100, Nicolas Decoster
<nicolas.decoster@noveltis.fr> wrote:
>
> In fact, I tried a little bit further, and renaming dlls of luacheia
> allows me to successfull execute require("luacom"). Houra. And even
> better, in the directory luacom/demo/server if I type
>
> lua5 inproc.lua /Register
>
> at the winxp command prompt, it leads to absolutely no warning nor error
> messages. But unfortunatelly the next step fails...
>
> lua5 inproc_use.lua
>
> raises an error. In fact, calling
>
> local obj = luacom.CreateObject("testlua.Teste")
>
> returns nil as it shouldn't.
>
> Any suggestions?
>
>
> Nicolas.
>