I am considering applying server-side licensing for my javerScript application.
In the document below, there is a phrase “Our server-side licensing component is written in C++.”
(https://support.scichart.com/index.php?/Knowledgebase/Article/View/17256/42/)
However, there is only asp.net sample code on the provided github.
(https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-dotnet-server-licensing)
I wonder if there is a sample code implemented in C++ for server-side licensing.
Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?
- Doug Witt asked 4 years ago
- You must login to post comments
Hi Doug
I’m afraid there isn’t, the logic inside the attached property VisualXcceleratorEngine.IsEnabled performs a number of checks to determine compatibility, and we had to write this output to console window to assist in debugging on the various hardware out there.
Potentially we could change from using Trace.WriteLine to Console.WriteLine but then there’s no guarantee the output will be written by visual studio.
If you set this code instead in your application, it will enable visual xccelerator but with no compatibility check. I wouldn’t advise you do this for production code but might save you some logging while in development.
PerformanceHelper.SetEnableExtremeResamplers(sciChartSurface, true);
sciChartSurface.SetCurrentValue(SciChartSurfaceBase.RenderSurfaceProperty, new VisualXcceleratorRenderSurface());
Best regards,
Andrew
- Andrew Burnett-Thompson answered 4 years ago
-
Would be good to be able to suppress this message. Checking the console output for issues having to bypass this message every time is a not optimal.
- You must login to post comments
Update: in the latest version of SciChart WPF we can now suppress this console output
Set this static property once before any SciChartSurface is shown.
VisualXcceleratorEngine.WriteWarningsToOutput = false;
Let me know if this helps
Best regards,
Andrew
- Andrew Burnett-Thompson answered 1 year ago
- You must login to post comments
Please login first to submit.