[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: application crashes while calling luaopen_io
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Thu, 16 Nov 2006 10:18:12 -0200
> 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..
If you want to open all standard Lua libraries, just call luaL_openlibs.
If you want a different set of libraries, add an edited copy of linit.c to
Also, your application should not crash if you use Lua 5.1.1.
This is a FAQ. Can someone please update http://lua-users.org/wiki/LuaFaq ?