In which order are plugins loaded? [SOLVED]
On 12/10/2014 at 08:04, xxxxxxxx wrote:
In which sequence / order are plugins loaded at cinema 4d startup?
For example, how can I be sure that plugin A is loaded before plugin B?
On 13/10/2014 at 07:47, xxxxxxxx wrote:
the order in which Python plugins are loaded depends in the end on the file system. At least on Windows plugins form older folders are loaded before plugins from younger folders.
May I ask how the order is important for your plugins?
On 13/10/2014 at 08:03, xxxxxxxx wrote:
My plugin is partly python and partly c++.
In C++ I am doing my license check. If it fails then that plugin stops.
The other plugins (python) check to see if the c++ plugin is there or not.
If it is there: license check was ok, so continue
If it is not there: license check was not ok, so stop.
But then of course the c++ plugin must run (register and check) first, before the other plugins register.
I'm doing this because c++ is more difficult to crack, more than python.
On 13/10/2014 at 08:48, xxxxxxxx wrote:
Cinema will first load all C++ plugins and call their PluginStart() function. The Python plugins are loaded after that.
On 14/10/2014 at 07:34, xxxxxxxx wrote:
Ok, so I am good to go.