Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Dynamic DLL's in seperate folder  (Read 1297 times)

0 Members and 1 Guest are viewing this topic.

kidchameleon

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • Email
Dynamic DLL's in seperate folder
« 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

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: Dynamic DLL's in seperate folder
« Reply #1 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.

I think one of the easier solution would be to set the working directory to the directory where the DLLs are in.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

kidchameleon

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • Email
Re: Dynamic DLL's in seperate folder
« Reply #2 on: May 05, 2016, 09:28:56 am »
Thanks eXpl0it3r ill have a good read with that!