Page 1 of 1

System.AccessViolationException in SlimDx.dll

Posted: Thu Mar 06, 2014 5:20 am
by clamp1981
Hi,

winform in the chart to use.
Fill DockStyle the creation of charts and set the chart panel by adding a chart to use
When changing the size of the winform threads occurs or "SlimDX.dll" System.AccessViolationException occurs in.
Trac occurs at the chart in the EndUpdate()
> SlimDX.dll! SlimDX.Direct3D9.Sprite.End () Occurs in

I know information about this error?

Re: System.AccessViolationException in SlimDx.dll

Posted: Thu Mar 06, 2014 3:47 pm
by ArctionPasi
Hello.

Ensure you are using latest 5.5.1 version of LightningChart.

Are you updating the chart from a background thread? If so, remember to use Control.Invoke (WinForms) or Dispatcher.Invoke (WPF) to synchronize the thread method call in UI thread, otherwise it will crash for sure.

Re: System.AccessViolationException in SlimDx.dll

Posted: Fri Mar 07, 2014 12:24 am
by clamp1981
Thank you.

I could not think of part of the UI Thread...
Has been resolved. :D