Hi,
The very beginning of my plugin's PluginStart()
looks like this:
Bool PluginStart()
{
iferr_scope_handler
{
GePrint("Activation aborted!"_s);
return false;
};
// License validation check
maxon::String productId, systemId, userId, licenseId, userName;
GetGeneralLicensingInformation(productId, systemId, userId, licenseId, userName) iferr_return;
// ...
// a lot more code that checks for plugin license and registers the plugins...
// in TR Client, it is never executed, because GetGeneralLicensingInformation() throws an error.
// ...
return true;
}
Running it in Cinema 4D or TeamRender Server works fine, but in TeamRender Client, the call to GetGeneralLicensingInformation()
returns an error and jumps to the error handler. Why?
Should I simply check if GeGetVersionType()
returns VERSIONTYPE::TEAMRENDER_CLIENT
and then skip the call? If so, it would be nice if that was mentioned in the SDK docs.
Environment is:
- R21.026
- Xcode 10.1
- macOS 10.13.6
Greetings,
Frank