lua-users home
lua-l archive

Re: application crashes while calling luaopen_io

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


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/

AltStyle によって変換されたページ (->オリジナル) /