Re: application crashes while calling luaopen_io
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: application crashes while calling luaopen_io
- From: "Alex Queiroz" <asandroq@...>
- Date: 2006年11月16日 09:08:20 -0300
Hallo,
On 11/16/06, missdeer <missdeer@gmail.com> wrote:
I am working on an application with MSVC7.1. I compiled the Lua 5.1.1 by
myself, then tried to link static or dynamic library into my project, but it
crashes while luaopen_io being called every time, even when I add the Lua
source code to my project..
Any suggestion?
You must call the luaopen_* functions as Lua functions, i.e.,
using lua_call().
Cheers,
--
-alex
http://www.ventonegro.org/