We are investigating the SciChart 3D trial in order to upgrade an application already using SciChart 2D. In the process, we found that SciChart 3D downloads and depends on a DLL at:
%LocalAppData%\SciChart\Dependencies\v5.2.0\x86\SciChart3DNative.dll
Our production environment doesn’t have internet access nor can users load DLLs downloaded into the users folder.
Is there a way to package SciChart3DNative.dll with SciChart 3D for offline usage? We have already tried copying the DLL and every permutation of the above folder path next to the compiled application, but this didn’t affect SciChart downloading and depending on the %LocalAppData% DLL.
- Tandy Carmichael asked 5 years ago
- last edited 5 years ago
- You must login to post comments
Hi Tandy,
SciChart3DNative.dll is not downloaded, but packaged inside SciChart.Charting3D.dll as an embedded resource. It is written to the path %LocalAppData%\SciChart\Dependencies\v5.2.0\x86\SciChart3DNative.dll when the 3D chart is loaded and run, and is loaded as a native library from there.
Does this answer your question?
Best regards,
Andrew
- Andrew Burnett-Thompson answered 5 years ago
-
Andrew, Thank you for your reply. That satisfies me with the offline access. However, our current security policy prevents users from loading DLLs outside of certain folders. (Which explains the real problem we were seeing.) See https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/applocker/dll-rules-in-applocker for an approximation of the rules. Is it possible to package the SciChart3DNative.dll beside our application so that the user can install it to a trusted directory? Thank you, Tandy
-
Hello Andrew, is there an available resolution for this issue? We are running into this on our development computers.
-
Hi Nathan, no resolution yet, but it has been reported by a small number of users recently hence we have raise the issue in priority. https://abtsoftware.myjetbrains.com/youtrack/issue/SC-5277 If we solve this, we will do so with SciChart WPF v6 (not 5). Is that a problem?
-
Hi Nathan, update, We have now implemented the above task and created a test app to demonstrates async loading of libraries before startup in a SciChart friendly way. It requires v6.1 from our nightly build feed. Can you try it out? https://github.com/ABTSoftware/SciChart.Wpf.Examples/tree/SciChart_v6_Release/Sandbox/LicensingTestApp/Wpf%20-%20AsyncLicenseLoading
-
Andrew, sorry for the late response, the notification that you responded must have been filtered through our mail’s spam. We decided to wait to transition to v6 after our next release. I just took a look at your example and updated or dev branch to use the latest release along with our new v6 license that we just purchased. It looks like as long as I point the temp folder to somewhere that our antivirus trusts, it appears to be working as you said.
- 2 more comments
- You must login to post comments
Please login first to submit.