Shmuel Zeigerman wrote: > * Exception occurs only if operator `new` was called and it occurs > on luajit.exe exit, rather than at the time `new` was called. Probably broken or mismatched runtime libraries between the *.exe and the two DLLs involved. This may affect exception handling, the memory allocator and many other things. > * Windows XP + lua.exe (PUC-Rio) + lua5.1.dll (LuaJIT) -> OK. The standard name is lua51.dll. Anything else will cause you trouble sooner or later because of the two dots in a Windows DLL filename (many tools and internal Windows handler functions cannot deal with it). --Mike