This should be easy, I have SDL.DLL and the other DLL's in another path called Lib. How can I have Laz recognize this path?
This should be easy, I have SDL.DLL and the other DLL's in another path called Lib. How can I have Laz recognize this path?
Marmin^.Style
use the Lib directory as your output directory (ie put the exe into that directory)
William Cairns
My Games: http://www.cairnsgames.co.za (Currently very inactive)
MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)
I want to neatly order my files.
lib <-- SDL, etc.
graphics
etc.
myapplic.exe
readme.txt
and no other.
In win32 I tried 'SetDllDirectory ('lib') but I got an error.
anyone knows why? http://msdn.microsoft.com/en-us/library/ms686203.aspx
Marmin^.Style
I think it needs an absolute path to the lib folder, not a relative one. Just a hunch.
[comment removed]
Marmin^.Style
Well, "an error" is not very descriptive, but setdlldirectory only works for loadlibrary'd dlls. And the last time I looked at SDL, it didn't do that.Originally Posted by marmin
Windows simply only searches local dir and some global dirs like windows/system32. Not much you can do about that, except loadlibrarying everything.
Bookmarks