Hi, I am using magick++ API for my project.
I am developing an image processing app on Win XP.
I want all the related dlls to be loaded from the same folder of the app exe.
But each time I load a png for instance, visual studio loads the dll from the installation path of the magick: "C:\Program Files\ImageMagick-6.6.0-Q16\modules\coders\IM_MOD_RL_png_.dll" .
Even though I put that file into the same path of the app's executable and add the path to the system Path, the app loads it from the above path.
It can load CORE_RL_magick_.dll and CORE_RL_Magick++_.dll from the same path of the app executable, but can't load the dll under the "C:\Program Files\ImageMagick-6.6.0-Q16\modules\"
What can I do to make the app to load the related dlls under the modules\, from the same path of its executable?