Custom DLL pathing in Dev c++

I'm using Dev C++ and I'd like to be able to have the dll files I need for things to be in a different folder than the exe for the program, how would I go about pathing this if able?

Edit: This is for purely cosmetic reasons of not having so many different files in one folder
Last edited on
This is what side-by-side assemblies are for. You need to create and attach a manifest file to your application.

I am unsure, though, having never done it myself, if you can specify a relative directory in the dependentAssembly.file.name element.

This might all be overload for just wanting to do something, well, abnormal.

Your other option is to use LoadLibrary() explicitly to link the DLLs at runtime (instead of load time).

Hope this helps.
Topic archived. No new replies allowed.