[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [LuaJIT FFI] Crashing when exiting after loading SOIL DLL
- From: Alex <initrd.gz@...>
- Date: Fri, 30 Dec 2011 16:04:24 -0600
Mike Pall <mikelu-1112@mike.de> wrote:
> Does the same thing happen if you load the DLL from C with
> LoadLibrary()? For better comparison use the same C compiler
> as you've used for LuaJIT.
Yea, it does, so it seems like it's a problem with the DLL itself. A
quick google yielded this topic:
http://stackoverflow.com/questions/6001176/why-does-a-mingw-compiled-dll-cause-a-crash-on-exit-when-compiled-without-stati
which may be the problem, as the library stores the error messages as
well as the availability of certain OpenGL extensions in global
variables. Other than that, I'm at a loss as to what is causing it.
Any ideas?
Again, thanks for the help.