How to load other dll in constructor | CPP

Hi there,
I want to load second dll in constructor,
what is recommended way to do so?
can I retrieve somehow the path to the plugin dll ?

thank you !
B.

1 Like

Easiest is just to have your .dll be linked against the other .dll so you don’t need to manually load it.
If you need to load manually then you’ll need to use LoadLibrary/LoadLibraryEx and potentially deal with the issues with .dll search paths.
The path the plugin’s .dll in would be helpful for this, so I’ll add that to the OP_NodeInfo class for future builds in 2019.30000