[SDL] Dynamically loading SDL dlls

Ryan C. Gordon icculus at icculus.org
Wed Oct 31 02:02:21 PDT 2007


>  From what little documentation I could find, it appears once upon a 
> time the SDL_SetLibraryPath() was available that supported dynamic 
> loading from a specified location. I don't know why it was deemed a good 
> idea to remove that, as it would be very useful at this point.

I had never even heard of SDL_SetLibraryPath before you mentioned it 
here, which means it's been gone for a long, long time.

I could provide several guesses as to why it was removed, but it's not 
really relevant, as you've seen that SDL_Init relies on the .DLL already 
being loaded as it is part of the .DLL anyhow.

Can you explain why SDL.dll needs to exist in a different location than 
the executable? You are asking how to accomplish something very 
specific, but I have a feeling that understanding the overall goal might 
be more useful to finding a solution that works for you.

--ryan.



More information about the SDL mailing list