Loading External DLLs

Questions related to plugins development
Post Reply
Sal
Posts: 2
Joined: Thu Mar 23, 2017 8:00 pm

Loading External DLLs

Post 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?
daniel
Site Admin
Posts: 7330
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Loading External DLLs

Post 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
Daniel, CloudCompare admin
Sal
Posts: 2
Joined: Thu Mar 23, 2017 8:00 pm

Re: Loading External DLLs

Post by Sal »

Thanks for the reply. I'll go with putting them in the CC directory.
Post Reply