I have a custom ZBrush plugin that I have been using successfully with ZBrush 2022 and 2023. The main functionality is contained within a DLL and my ZScript uses the FileExecute command to call into it. My DLL has some directly linked colocated dependencies as well as some dynamically loaded internal and external dependencies.
Starting with 2024, the dependencies are no longer loaded when running FileExecute. If I manually call FileExecute on the direct dependencies themselves first, the plugin is able to load correctly. For the dynamically loaded dependencies, C++ calls to LoadLibrary
with a relative path to load the dependency from the system search paths fails. Passing absolute paths does work, but these paths can vary between users. Any information about what has changed with DLL loading in 2024 or advice for how to handle this would be greatly appreciated!