how to manage dll internal dependencies (LUA C module)
Hi,
I'm creating a LUA C module using Qt4, so, my dll depends on libstdc++, libwinpthread, QtCore4 and QtGui4.
I would have loved to put all my dll in a "lib" folder near the executed Lua script but i can not achieve to do that.
At least, how could it be possible to avoid putting the dll in the system32 dir or in the Lua interpreter directory ?
(and maybe, later, I'll need the imageformats dll dir ...)
I use Qt 4.8.6, mingw4.8.2 and lua 5.2.4, 32bits.
The LUA IDE I use is eclipse (lua developpement tools) if it may offer any auxiliary solution...
(And static linking is not an option for licence reasons)
Thanks in advance.
Re: how to manage dll internal dependencies (LUA C module)
Putting the DLLs in the same location as your DLL, not a lib subfolder, should work on Windows. You may also be able to do something magical and non-Qt with manifest files to load specific DLLs from known locations.