lua-users home
lua-l archive

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


Am 05.12.2010 02:19, schrieb Pablo Garcia:
At this point I can use LUA but I hear a error sound of windows, no message, and when I try to do a second lua_pcall app crashes. If I don't do the second pcall, when app is closed i got other appcrash, but i cant debug it...
This sounds familiar for me. Rules I've observed to obey, when using lua:

* use lua in a dll - i.e. dont link it static (and dont mix this up with static member, same word, different things)
* use msvcrt* in a dll - dont link it static
* use the same version of VisualStudio, that was used to build the lua-dlls (or build them yourself)

many problems vanished silently after I did these changes

Regards