Hello,
I am currently trying to complete a plugin for R21 in Windows 10. After compiling the code I distributed the plugin to several people and they were able to successfully run the plugin with the exception of one person. The one exception gave this error.
WARNING: Error loading file:///C:/Program Files/Maxon Cinema 4D R21/plugins/Plugin/Test Plugin.xdl64: Could not load dll. (file:///C:/Program Files/Maxon Cinema 4D
R21/plugins/Plugin/Test Plugin.xdl64) [win_dll.cpp(319)]
Cause: Windows System Error #1114: A dynamic link library (DLL) initialization routine failed. [win_dll.cpp(315)] [general.cpp(386)]
WARNING: Error loading file:///C:/Program Files/Maxon Cinema 4D R21/plugins/Plugin/Test Plugin.xdl64: symbol 'g_maxon' is missing. [win_dll.cpp(393)] [general.cpp(386)]
I've had previous plugins that didn't work because of missing DLLs so before transferring the plugin to any other computer I used a program (Dependency Walker) to check what DLL files it needed and made sure to include them under "Additional Include Directories". This process has worked for the times I've had this kind of issue up until now. This plugin has worked properly on all of the computers its been used it on except for the one giving this error. I do not have direct access to this computer so running tests will be difficult.
There is a separate post on the forums dealing with some of the same issues.
Any help figuring out the cause of this error would be greatly appreciated,
John Thomas