I suggest your review this documentation since there are various ways to make a dll available for runtime loading.
dynamic-link-library-search-order
For example, one way would be to configure your project properties so that the working directory when running your executable is the directory containing the dll that you want to load.