Page 1 of 1

Loading External DLLs

Posted: Thu Mar 23, 2017 8:06 pm
by Sal
I have a plugin that relies on external DLLs in windows. I can load the plugin when the external DLLs are in the directory containing CloudCompare.exe, but I would like to keep them in their own directory to keep things organized. Is there a way to get the official release to look in additional directories for dependencies?

Re: Loading External DLLs

Posted: Thu Mar 23, 2017 8:40 pm
by daniel
That's not the way it works on Windows sadly.

As far as I know, DLLs should be:
- next to the executable
- or in the System directory
- or in the winSxS folder (properly registered and installed at the right place), in which case a manifest file next to the executable can be used to point Windows to the right versions of the DLLs

Re: Loading External DLLs

Posted: Fri Mar 24, 2017 2:59 pm
by Sal
Thanks for the reply. I'll go with putting them in the CC directory.