Quote Originally Posted by marmin
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
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.

Windows simply only searches local dir and some global dirs like windows/system32. Not much you can do about that, except loadlibrarying everything.