SFML community forums

Help => General => Topic started by: kidchameleon on May 05, 2016, 12:22:49 am

Title: Dynamic DLL's in seperate folder
Post by: kidchameleon on May 05, 2016, 12:22:49 am
Hi all,

I'm just curious. Would it be possible to compile dynamically but have the DLL files in a separate folder for distribution?

Cheers
Title: Re: Dynamic DLL's in seperate folder
Post by: eXpl0it3r on May 05, 2016, 12:46:57 am
Yes, there are actually multiple ways to achieve it, see the MSDN article on DLL search order (https://msdn.microsoft.com/en-us/library/windows/desktop/ms682586(v=vs.85).aspx#search_order_for_desktop_applications).

I think one of the easier solution would be to set the working directory to the directory where the DLLs are in.
Title: Re: Dynamic DLL's in seperate folder
Post by: kidchameleon on May 05, 2016, 09:28:56 am
Thanks eXpl0it3r ill have a good read with that!