Hello! This might be a silly question, but if I were to get a new MacBook running the M1-series processor, and ran Windows ARM preview in Parallels, do I have any chance of getting SciChart to work? I can see here that Visual Studio ARM will compile x86 and x64, but will SciChart work? I have no way to test this so hopefully someone else has!
https://docs.microsoft.com/en-us/visualstudio/install/visual-studio-on-arm-devices?view=vs-2022
- Peter O'Brien asked 3 years ago
- You must login to post comments
Hi Peter
I honestly haven’t tried it! I have tried ScIChart WPF on Parallels VM on Intel Macbooks. It works pretty well there, with the odd glitch (which unfortunately is down to Parallels DirectX virtualisation)
Do you have an M1 with Parallels available?
You can clone our SciChart WPF Examples repository here and run the Smoke Tests UIAutomation Tests (inside Examples/SciChart.Examples.Demo.SmokeTests folder)
This will cycle through every example and take a screenshot of the example & compare vs. expected. From that you can tell in a few minutes which examples work and which fail.
Try it, let us know!
Best regards
Andrew
- Andrew Burnett-Thompson answered 3 years ago
- You must login to post comments
I just tried this in Parallels today and it’s throwing an exception. This exception is being thrown when I call SciChartSurface.SetRuntimeLicenseKey. I suspect it’s trying to load an unmanaged lib that wasn’t compiled as arm64 but that’s just my guess.
This was tested using the following:
Apple 16″ Macbook Pro M1 (1TB and 16GB RAM)
Parallels Version 18.2.0 (53488)
Windows 11 22621.525
Visual Studio Enterprise 2022 17.5.3
SciChart 7.0.1.27055 (installed via NuGet)
The type initializer for ‘ncw’ threw an exception.
Failed to load file C:\Users\tim\AppData\Local\SciChart\Dependencies\v7.0.1.27055\x64\AbtLicensingNative.dll as an unmanaged DLL
LoadLibrary() failed with error: 0. Message: The operation completed successfully.
at ncw.cxb(String bad)
at SciChart.Charting.Visuals.SciChartSurface.SetRuntimeLicenseKey(String key)
at DemoApp.App.OnStartup(StartupEventArgs e) in C:\Users\tim\Git\DemoApp\DemoApp\App.xaml.cs:line 19
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
- Tim Stephansen answered 2 years ago
- last edited 2 years ago
-
Hi Tim, Thanks for the additional info. To make this work we’d need to recompile our unmanaged libraries for ARM and include them in the scichart package. It would increase the dll size for all. We have this marked as a task in our backlog and at some point will get to it. As more technology progresses toward ARM we realise it would be good to support scichart on this platform.
-
Hi Andrew, has there been any progress on making an ARM compatible version of the AbtLicensingNative DLL?
- You must login to post comments
Hi Peter,
The problem you encountered came from your Debug configuration. By default Visual Studio uses Any CPU that defaults to your current processor architecture (ARM64 in your case). So to work properly with SciChart native libs you should force your app to run in x64 mode.
I know it is an outdated answer. However, I hope it will help someone.
- Dmitry Dev answered 1 year ago
- last edited 1 year ago
- You must login to post comments
3D charts such as surface is not working in Windows 11 ARM under x64-bit mode. 2D charts and 3D scatter charts seems to be fine.
Is there any progress has been made to make it compatible for Windows ARM?
- Manjunathan Sooriyan answered 1 month ago
- last edited 4 weeks ago
- You must login to post comments
Hi Manjunathan,
Thank you for the provided details.
I forwarded this information to our developers.
We haven’t added native ARM64 support for SciChart WPF yet. However, our team plans to look at this task this year.
We’ll get you informed as soon as we have an update.
Kind regards,
Lex,
SciChart Technical Support Engineer
- Lex answered 3 weeks ago
- You must login to post comments
Please login first to submit.