Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi,
The very beginning of my plugin's PluginStart() looks like this:
PluginStart()
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?
GetGeneralLicensingInformation()
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.
GeGetVersionType()
VERSIONTYPE::TEAMRENDER_CLIENT
Environment is:
Greetings, Frank
Well, what error does GetGeneralLicensingInformation() return? You can check the error message: Error Class
The way it's described in the SDK docs, I do not get any error message:
By diving into the location in the API where the error is thrown, I might have found that it's a nullptr error.